74 Commits

Author SHA1 Message Date
openharmony_ci d4bf45d00b !8 merge master into master
autocfg readme.opensource修改

Created-by: dragonswordy
Commit-by: ljy9810
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)
https://gitcode.com/openharmony/third_party_rust_unicode-ident/issues/3


### 二、建议测试周期和提测地址  
  建议测试完成时间:xxxx.xx.xx  
  投产上线时间:xxxx.xx.xx  
  提测地址:CI环境/压测环境  
  测试账号:  

### 三、变更内容
  * 3.1 关联PR列表

  * 3.2 数据库和部署说明  
    1. 常规更新 
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"

  * 3.4 其他技术优化内容(做了什么,变更了什么)
    - 重构了 xxxx 代码
    - xxxx 算法优化


  * 3.5 废弃通知(什么字段、方法弃用?)



  * 3.6  后向不兼容变更(是否有无法向后兼容的变更?)


  
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
  自测测试结论:


### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
  检查点:

| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|------|------------|----------|---------------|
| xxx  | 否          | 需要       | 不需要           |
|      |            |          |               |

  接口测试:

  性能测试:

  并发测试:

  其他:



See merge request: openharmony/third_party_rust_autocfg!8
OpenHarmony-v7.0-Beta1
2026-04-09 20:56:02 +08:00
ljy9810 91f8f2936b autocfg readme.opensource修改
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2026-04-09 17:29:44 +08:00
openharmony_ci aff3fab38c !5 merge master into master
autocfg增加bundle.json部件化

Created-by: dragonswordy
Commit-by: ljy9810
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)

https://gitcode.com/openharmony/third_party_rust_autocfg/issues/3

### 二、建议测试周期和提测地址  
  建议测试完成时间:xxxx.xx.xx  
  投产上线时间:xxxx.xx.xx  
  提测地址:CI环境/压测环境  
  测试账号:  

### 三、变更内容
  * 3.1 关联PR列表

  * 3.2 数据库和部署说明  
    1. 常规更新 
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"

  * 3.4 其他技术优化内容(做了什么,变更了什么)
    - 重构了 xxxx 代码
    - xxxx 算法优化


  * 3.5 废弃通知(什么字段、方法弃用?)



  * 3.6  后向不兼容变更(是否有无法向后兼容的变更?)


  
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
  自测测试结论:


### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
  检查点:

| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|------|------------|----------|---------------|
| xxx  | 否          | 需要       | 不需要           |
|      |            |          |               |

  接口测试:

  性能测试:

  并发测试:

  其他:



See merge request: openharmony/third_party_rust_autocfg!5
OpenHarmony-v6.1-Release
2025-12-31 22:06:36 +08:00
ljy9810 e87ba0e069 autocfg增加bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2025-12-24 09:49:29 +08:00
openharmony_ci 776d5444c3 merge master into master
autocfg 升级到1.4.0

Created-by: dragonswordy
Commit-by: ljy9810
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)
https://gitcode.com/openharmony/third_party_rust_memoffset/issues/1

### 二、建议测试周期和提测地址  
  建议测试完成时间:xxxx.xx.xx  
  投产上线时间:xxxx.xx.xx  
  提测地址:CI环境/压测环境  
  测试账号:  

### 三、变更内容
  * 3.1 关联PR列表

  * 3.2 数据库和部署说明  
    1. 常规更新 
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"

  * 3.4 其他技术优化内容(做了什么,变更了什么)
    - 重构了 xxxx 代码
    - xxxx 算法优化


  * 3.5 废弃通知(什么字段、方法弃用?)



  * 3.6  后向不兼容变更(是否有无法向后兼容的变更?)


  
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
  自测测试结论:


### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
  检查点:

| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|------|------------|----------|---------------|
| xxx  | 否          | 需要       | 不需要           |
|      |            |          |               |

  接口测试:

  性能测试:

  并发测试:

  其他:



See merge request: openharmony/third_party_rust_autocfg!3
2025-09-01 20:25:29 +08:00
ljy9810 07076a1b7f autocfg 升级到1.4.0
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2025-08-28 20:25:10 +08:00
openharmony_ci 139a1005c5 !2 Add OAT.xml and README.OpenSource
Merge pull request !2 from fangting/master
OpenHarmony-v6.0-Beta1 OpenHarmony-v4.1.4-Release OpenHarmony-v5.1.0-Release OpenHarmony-v5.0.3-Release OpenHarmony-v4.1.3-Release OpenHarmony-v5.0.2-Release OpenHarmony-v4.1.2-Release OpenHarmony-v5.0.1-Release OpenHarmony-v4.0.4-Release OpenHarmony-v5.0.0-Release OpenHarmony-v4.0.3-Release OpenHarmony-v4.0.2-Release OpenHarmony-v5.0-Beta1 OpenHarmony-v4.0-Release OpenHarmony-v4.0-Beta1 OpenHarmony-v4.0-Beta2 OpenHarmony-v4.0.1-Release OpenHarmony-v4.1-Beta1 OpenHarmony-v4.1-Release OpenHarmony-v4.1.1-Release master-v weekly_20240115-v
2023-04-14 08:10:59 +00:00
fangting 33ed587a36 Add OAT.xml and README.OpenSource
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:14:37 +08:00
openharmony_ci f753d7bfb6 !1 [autocfg]Add OH support and BUILD.gn for rust
Merge pull request !1 from haotuo/master
2023-04-13 11:33:53 +00:00
haotuo 63c6788da9 Add BUILD.gn for OH build
Issue:https://gitee.com/openharmony/build/issues/I6UFTP

Signed-off-by: haotuo <haotuo@huawei.com>
2023-04-11 17:44:08 +08:00
bors[bot] 3d5db8e633 Merge #39
39: Use CARGO_ENCODED_RUSTFLAGS when it is set r=cuviper a=cuviper



Co-authored-by: Josh Stone <cuviper@gmail.com>
github.com/cuviper/autocfg/1.1.0 github.com/cuviper/autocfg.git/1.1.0
2022-02-07 23:04:10 +00:00
Josh Stone a588165bcd Add more CI versions 2022-02-07 15:02:34 -08:00
Josh Stone e6282ae7eb Release 1.1.0 2022-02-07 14:58:25 -08:00
Josh Stone 1e61c673a3 Use CARGO_ENCODED_RUSTFLAGS when it is set 2022-01-26 11:21:14 -08:00
bors[bot] 86f24320f6 Merge #25
25: Try to determine if --target was passed to Cargo r=cuviper a=adamreichold

This checks the output directory for the `$CARGO_TARGET_DIR/$TARGET` pattern making use of `MAIN_SEPARATOR` to try to handle Windows. It will also fail if either the path or that pattern are not valid UFT-8, but it will then fall back to the current behavior. (So this basically tries to implement https://github.com/cuviper/autocfg/pull/10#issuecomment-527575030.)

Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
Co-authored-by: Josh Stone <cuviper@gmail.com>
2020-08-21 00:48:16 +00:00
Josh Stone bbb310d523 Release 1.0.1 2020-08-20 17:47:03 -07:00
Adam Reichold 492ce0c235 Factor out code to detect if dir contains target to make it amenable to unit tests. 2020-08-20 14:05:23 +02:00
Adam Reichold 73eea3ce19 Try to determine if --target was passed to Cargo
This checks the output directory for the $CARGO_TARGET_DIR/$TARGET pattern
making use of MAIN_SEPARATOR to try to handle Windows. It will also fail if
either the path or that pattern are not valid UFT-8, but it will then fall back
to the current behavior.
2020-08-06 07:40:34 +02:00
Josh Stone 08047216aa Exclude CI files from the package 2020-03-06 12:17:53 -08:00
bors[bot] 4519f39b16 Merge #22
22: Use TESTS_TARGET_DIR envvar to override tests target dir r=cuviper a=silwol

Rationale: At Debian, the autopkgtests are run inside a non-writable
directory, so the "target" subdirectory can't be used. Inside the
autopkgtest environment, we have an env variable AUTOPKGTEST_TMP
available which points to a temporary directory, that we can pass on to
the tests as TESTS_TARGET_DIR. This makes the tests pass properly inside
this environment.


Co-authored-by: Wolfgang Silbermayr <wolfgang@silbermayr.at>
2020-02-19 22:17:06 +00:00
Wolfgang Silbermayr 25fb12d755 Use TESTS_TARGET_DIR envvar to override tests target dir
Rationale: At Debian, the autopkgtests are run inside a non-writable
directory, so the "target" subdirectory can't be used. Inside the
autopkgtest environment, we have an env variable AUTOPKGTEST_TMP
available which points to a temporary directory, that we can pass on to
the tests as TESTS_TARGET_DIR. This makes the tests pass properly inside
this environment.
2020-02-18 08:57:23 +01:00
Josh Stone f04b2203f8 Fix the master cron 2020-01-28 18:46:43 -08:00
Josh Stone 98f902b57b Move master to its own cron'ed workflow 2020-01-28 18:45:23 -08:00
bors[bot] 52a6b09dd5 Merge #21
21: Switch to GitHub Actions r=cuviper a=cuviper



Co-authored-by: Josh Stone <cuviper@gmail.com>
2020-01-29 02:24:47 +00:00
Josh Stone cf7f4a5353 Switch to GitHub Actions 2020-01-28 18:21:11 -08:00
Josh Stone c6a84fffa9 Merge pull request #20 from cuviper/release-1.0.0
Release 1.0.0
2020-01-08 17:38:16 -08:00
Josh Stone 769d9c54d0 Add 1.40 to CI 2020-01-08 17:31:09 -08:00
Josh Stone 7fd9586f56 Update dependency examples for 1.0 2020-01-08 17:29:17 -08:00
Josh Stone 29279e8f53 Release 1.0.0 2020-01-08 16:43:56 -08:00
Josh Stone c6932c8c34 Merge pull request #19 from cuviper/expressions
Add probe_expression and probe_constant
2020-01-07 15:16:51 -08:00
Josh Stone c6404a25cc Add probe_expression and probe_constant 2019-12-14 12:25:44 -08:00
Josh Stone 4ba947ea00 Simplify conditional tests 2019-12-14 12:25:00 -08:00
Josh Stone 0153f5f1f1 Add a caution about probe templates 2019-12-14 12:23:03 -08:00
Josh Stone b873ae465e Merge pull request #18 from cuviper/rustflags-dir
Use the test's current_exe() to find the target dir
2019-11-19 14:23:44 -08:00
Josh Stone 318288b45d Use the test's current_exe() to find the target dir 2019-11-19 14:06:44 -08:00
Josh Stone 16ca852d9a Merge pull request #14 from dingelish/master
Compatible with cargo --remap-path-prefix
2019-11-06 11:43:06 -08:00
Yu Ding 2ee7317970 Compatible with cargo --remap-path-prefix 2019-11-02 22:43:14 -07:00
Josh Stone c8272f5f54 Merge pull request #13 from cuviper/rustflags
Apply rustflags when probing rustc
2019-10-20 10:55:22 -07:00
Josh Stone d860f3c164 Add a local macro replacing deprecated std::try!
This is easier than adding `#[allow(deprecated)]` everywhere, and better
than adding a global `#![allow(deprecated)]` that might hide other
interesting deprecations.
2019-10-20 10:39:05 -07:00
Josh Stone 19e34b6b80 Use consistent periods on release notes 2019-10-20 09:54:43 -07:00
Josh Stone e2b75ebd45 Release 0.1.7 2019-10-20 09:48:56 -07:00
Josh Stone 9efc093426 Avoid Option::filter for compatibility 2019-10-20 09:38:22 -07:00
roblabla 5015cfbb8b Only apply RUSTFLAGS when TARGET != HOST 2019-09-06 08:12:54 +00:00
roblabla 68dc86c5cb Fix test on 1.10.0 and earlier 2019-09-04 09:39:25 +00:00
roblabla c005529817 Fix 1.0.0 build 2019-09-04 08:56:40 +00:00
roblabla c4b75db008 Apply rustfmt 2019-09-04 08:50:27 +00:00
roblabla 75f7ffe623 Add simple test checking rustflags works 2019-09-04 08:49:53 +00:00
roblabla b1ecf838ee Cache rustflags in AutoCfg struct. 2019-09-04 08:26:45 +00:00
roblabla 866baee9f8 Apply rustflags when probing rustc
We should apply the RUSTFLAGS environment variable when probing with
rustc. The RUSTFLAGS might get important flags, such as the sysroot,
when doing cross-platform building with tools such as cargo-xbuild or
Xargo.
2019-08-31 22:45:37 +00:00
Josh Stone b0d5c1b9d4 Merge pull request #9 from leo60228/sysroot
Add probe_sysroot_crate and emit_sysroot_crate
2019-08-19 12:33:24 -07:00