Commit Graph

198 Commits

Author SHA1 Message Date
openharmony_ci 7bf9dbe232 !4 merge master into master
libloading新增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_libloading!4
OpenHarmony-v6.1-Release OpenHarmony-v7.0-Beta1
2025-12-31 22:06:19 +08:00
ljy9810 762d076a71 libloading新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2025-12-24 09:21:01 +08:00
openharmony_ci 94d81d853e !3 修改License File文件名与OpenSource里面一致
Merge pull request !3 from 龙剑吟/master
OpenHarmony-v6.0.0.1-Release OpenHarmony-v6.0-Release OpenHarmony-v6.0.0.2-Release
2025-06-25 06:31:18 +00:00
ljy9810 45275c6855 修改README.OpenSource License File字段与实际一致
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2025-06-25 10:10:59 +08:00
openharmony_ci 8d0c160cdc !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-Beta1 OpenHarmony-v4.0-Beta2 OpenHarmony-v4.0-Release 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:50 +00:00
fangting bae7829bef Add OAT.xml and README.OpenSource
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:15:00 +08:00
openharmony_ci ef045d30fd !1 [libloading]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from lubinglun/master
2023-04-13 11:34:04 +00:00
lubinglun fa8f7f9430 Add GN Build Files and Custom Modifications
Issue:https://gitee.com/openharmony/build/issues/I6UFTP
Signed-off-by: lubinglun <lubinglun@huawei.com>
2023-04-12 17:26:23 +08:00
Simonas Kazlauskas 9d168eeb1a Fix CI github.com/nagisa/rust_libloading.git/0.7.4 github.com/nagisa/rust_libloading/0.7.4 2022-11-07 01:26:14 +02:00
Simonas Kazlauskas 4569e35836 Placate clippy 2022-11-07 01:12:56 +02:00
Simonas Kazlauskas 842d3b418f Release 0.7.4 2022-11-07 00:34:04 +02:00
Qiu Chaofan d5e85c73ab Support AIX dyld constants 2022-08-30 15:16:47 +08:00
cuishuang 6511538e52 fix typo
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-04-24 23:09:52 +08:00
Simonas Kazlauskas 6d0f9bd0b5 Construct a PathBuf
Representing what's the data here holistically.
2022-01-18 14:25:18 +02:00
Simonas Kazlauskas a6334c080b Simplify lib_path
Since these are the tests, I'm sure we can afford to pay 1 allocation
per test for a path.
2022-01-18 14:20:36 +02:00
James McCoy 40b5ea3fae Honor Cargo's target directory when building LIBPATH
Running the tests with “cargo test --target-dir <path>” fails because
"target/" doesn't exist.

Rust 1.57.0 added $CARGO_TARGET_TMPDIR as a scratch directory for
integration tests to use, which Cargo itself won't touch.

Therefore, use $CARGO_TARGET_TMPDIR if it's available, $CARGO_TARGET_DIR
otherwise, and fallback to "target" as a last resort.
2022-01-18 14:17:29 +02:00
Simonas Kazlauskas 02cb381c15 Fix a typo in the CI scripts 2022-01-15 18:34:16 +02:00
Simonas Kazlauskas 5411a8b94d Replace docsrs cfg with libloading_docs
`docsrs` is a commonly used `cfg` identifier. `libloading`'s
implementation is written in such a way that it cannot compile with this
cfg set, but is still able to produce documentation. This is done so
that the documentation is naturally covering all platform-specific
details in a single page, without users having to e.g. switch between
Windows® and Linux when reading the documentation on `docs.rs`.

The downstream crates may accidentally set this `cfg` for `rustc`
invocations as well, which can then cause them to fail to build, for no
good reason!

Using a cfg specific to a crate (e.g. `libloading_docs`)
more accurately reflects the purpose of this cfg and avoids these
problems altogether.

Fixes #101
2022-01-15 01:28:41 +02:00
Simonas Kazlauskas c6fe94855f Build wasm32-unknown-unknown in CI 2021-11-15 22:37:50 +02:00
Simonas Kazlauskas aed0110b8c Fix documentation building on Windows 2021-11-15 22:36:40 +02:00
Simonas Kazlauskas 282000ef46 Fix broken rustdoc links 2021-11-15 21:45:05 +02:00
Simonas Kazlauskas 7c5a6a0eda Changelog for 0.7.2 2021-11-15 21:44:43 +02:00
Simonas Kazlauskas 3ff0188486 Library & Symbol exist on supported platforms only
This makes the error messages and use of this library on targets such as
wasm32-unknown-unknown much more straightforward.
2021-11-15 21:44:39 +02:00
Simonas Kazlauskas f0b85f212b Annotate the MSRV in Cargo.toml 2021-11-14 16:07:16 +02:00
Mario 16310c5f08 Small typo 2021-10-17 20:52:31 +02:00
Simonas Kazlauskas 7c6a6682c1 Bump 0.7.1 2021-10-09 13:59:23 +03:00
William Henderson c483d866ec Removed unclear sentence 2021-10-09 11:50:04 +01:00
William Henderson 0e62077bd2 Added a few commas in the documentation 2021-10-09 11:32:26 +01:00
William Henderson 41a81fafef Made documentation spelling consistent
It was previously a mix of British and American English, it is now just British English
2021-10-08 20:56:51 +01:00
William Henderson 22b0e8cb6c Improved documentation of platform-specific APIs
Fixed a few minor grammatical errors and made it more idiomatic
2021-10-08 20:55:02 +01:00
William Henderson 6bc6106bc6 Improved the README and lib.rs documentation
It has been made more idiomatic and some minor grammatical errors have been amended
2021-10-08 20:37:58 +01:00
Simonas Kazlauskas b458fcb2a5 Adjust the date of the release in changelog 2021-02-06 20:27:05 +02:00
Simonas Kazlauskas 1774322f1d Review documentation 2021-02-06 20:04:21 +02:00
Simonas Kazlauskas 4182c7e7e8 Drop the code for supporting XP/Vista 2021-02-06 18:59:45 +02:00
Simonas Kazlauskas 2dc3cb5983 Bump version to 0.7 and add changelog 2021-01-31 21:32:14 +02:00
Simonas Kazlauskas ebf363ea72 Make various library loading functions unsafe 2021-01-31 21:32:14 +02:00
Simonas Kazlauskas 5afb886574 Use RTLD_LOCAL | RTLD_LAZY as default dlopen flags 2021-01-31 19:06:10 +02:00
Simonas Kazlauskas 050f41df81 Rename Error::LoadLibraryW → LoadLibraryExW 2021-01-31 19:04:57 +02:00
Simonas Kazlauskas 29ce1077e2 Add a missing link in changelog 2021-01-14 16:14:54 +02:00
Simonas Kazlauskas f5b79b966a Bump to 0.6.7 2021-01-14 16:10:24 +02:00
Ivan Molodetskikh ff4ebe7615 Add os::windows::Library::open_already_loaded() 2020-12-30 19:45:39 +03:00
Ivan Molodetskikh d4a222f90a Fix typo in GHA workflow 2020-12-30 19:18:56 +03:00
Ivan Molodetskikh 4bfc6b53d7 Fix error comment 2020-12-30 19:01:50 +03:00
Simonas Kazlauskas ad352b2ae2 Bump v0.6.6 2020-12-03 15:20:46 +02:00
Simonas Kazlauskas 86b5095f75 Don't neglect to forget self in close
Otherwise it leads to a double-free, once in `close` and another time in
`drop`. Curiously this was only a bug on Windows, and Unix code was
fine. Not sure how this happened.
2020-12-03 15:05:35 +02:00
Simonas Kazlauskas 2b67ea3fe9 Bump to 0.6.5 2020-10-23 17:12:03 +03:00
Paolo Barbolini 6832e3852a Bump cfg-if to 1.0 2020-10-22 09:52:42 +02:00
Simonas Kazlauskas f11349a85c Bump to 0.6.4 2020-10-10 18:51:06 +03:00
Simonas Kazlauskas 28d8c5d95f Refresh the actions file
* Remove deprecated usage of set-path as per
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
* Set TARGET variable for tests
2020-10-10 18:41:24 +03:00
Simonas Kazlauskas cd2771bf32 Tests read TARGET environment variable for helpers 2020-10-10 18:09:55 +03:00