141 Commits

Author SHA1 Message Date
openharmony_ci c391770a72 !5 merge master into master
lazycell新增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_lazycell!5
OpenHarmony-v6.1-Release OpenHarmony-v7.0-Beta1
2025-12-31 22:03:52 +08:00
ljy9810 a4ae08f0f3 lazycell新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2025-12-24 09:43:37 +08:00
openharmony_ci a2c670b1b2 !3 【轻量级 PR】:修改lazycell版本号为1.2.1
Merge pull request !3 from 李可/N/A
OpenHarmony-v6.0.0.1-Release OpenHarmony-v6.0-Release OpenHarmony-v6.0-Beta1 OpenHarmony-v5.1.0-Release OpenHarmony-v5.0.3-Release OpenHarmony-v5.0.2-Release OpenHarmony-v5.0.1-Release OpenHarmony-v5.0.0-Release OpenHarmony-v6.0.0.2-Release
2024-07-04 08:17:07 +00:00
李可 9260535500 update README.OpenSource.
Signed-off-by: 李可 <like115@huawei.com>
2024-07-04 06:43:10 +00:00
openharmony_ci f5e306cf0b !2 Add OAT.xml and README.OpenSource
Merge pull request !2 from fangting/master
OpenHarmony-v4.1.4-Release OpenHarmony-v4.1.3-Release OpenHarmony-v4.1.2-Release OpenHarmony-v4.0.4-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:24 +00:00
fangting 36b7f9429e Add OAT.xml and README.OpenSource
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:14:55 +08:00
openharmony_ci f0b663a160 !1 [lazycell]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from lubinglun/master
2023-04-13 11:33:51 +00:00
lubinglun 9171a9b94b 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:17 +08:00
Nikita Pekin 74f4c9649f chore: cut 1.2.0 release github.com/indiv0/lazycell/v1.2.1 2018-12-03 19:18:37 -05:00
David Halperin 321d4bb3c5 feat: Implement Clone for LazyCell and AtomicLazyCell 2018-12-03 18:58:37 -05:00
Nikita Pekin cbc16fe524 chore: cut 1.1 release
Update CHANGELOG.md.
Update the version to 1.2 in the README.md and in the Cargo.toml.
2018-09-19 13:33:05 -04:00
Nikita Pekin 1f97fa91ea chore: add Alex Crichton to list of contributors 2018-09-19 13:33:05 -04:00
Alex Crichton 8ddba49206 feat: add LazyCell::replace for infallible access
This differs from other functions that it requires `&mut self` but if you've
locally got access to `&mut self` in code it's often quite handy to take
advantage of such privileged access!
2018-09-19 13:00:50 -04:00
Nikita Pekin ca61d41e9c chore: cut the 1.0.0 release 2018-09-10 18:59:12 -04:00
Nikita Pekin 9ab2fc17cf chore: bump minimum rustc version 2018-09-10 18:58:54 -04:00
Nikita Pekin 548aae4016 chore: add sagebind to CONTRIBUTORS.md 2018-09-10 18:35:15 -04:00
Nikita Pekin 5b7f2edbd2 chore: bump minimum rustc version to 1.20 2018-09-10 18:34:00 -04:00
Stephen M. Coakley 69d4c8660d impr: add NONE constant for an empty AtomicLazyCell
Add an associated constant for an empty `AtomicLazyCell`.
This is useful in statics and in other places requiring const expressions.

Closes #87.
2018-09-10 18:33:48 -04:00
David Herman e7af815b6b impr: add LazyCell::borrow_mut_with and LazyCell::try_borrow_mut_with
* Closes #79
* Closes #80
2018-09-10 18:21:15 -04:00
Nikita Pekin f9670f8756 docs: add note regarding LazyCell::borrow_mut
Add a notice in the documentation stating that `LazyCell::borrow_mut`
allows the mutation of the inner contents.
2018-09-10 17:58:53 -04:00
David Herman 634599cd0f docs: describe mutability more consistently
Closes #78.
2018-09-10 17:58:50 -04:00
Nikita Pekin 704f9a2bc7 chore: cut the 0.6.0 release
Update CHANGELOG.
Update README.
Cut the 0.6.0 release.
2018-06-06 19:50:51 -04:00
est31 226f69134a chore: add myself as contributor 2018-06-05 20:02:28 -04:00
est31 d954e60485 feat: Add #![no_std]
This crate uses nothing from the std crate that's not already
present in libcore. Therefore, add a #![no_std] mode.
2018-06-05 20:02:28 -04:00
Ossi Herrala 3e85f9c7ed chore: update CONTRIBUTORS.md 2018-04-19 13:46:38 -04:00
Ossi Herrala c390b196ef style: allow unsafe code around UnsafeCell::into_inner() call
Rust 1.25 changed UnsafeCell::into_inner() from unsafe to safe
function. This unsafe can be removed when supporting Rust older than
1.25 is not needed.
2018-04-19 13:46:38 -04:00
Ossi Herrala e06ecdfae2 style: remove unnecessary mut and unsafe keywords
Compiler nagged about these. Remove it to please the compiler.
2018-04-19 13:46:38 -04:00
Nikita Pekin 49bf29610f chore: cut the 0.5.1 release
Update CHANGELOG.
Update README.
Cut the 0.5.1 release.
2017-11-25 13:00:38 -05:00
Nikita Pekin 524ee683c6 feat: add Default derives
Add Default derive for LazyCell and AtomicLazyCell.
2017-11-25 12:48:40 -05:00
Nikita Pekin 6e011865ed style: remove redundant pattern matching
Remove redundant `if let Err(_)` pattern matching with `is_err()` checks
instead.
2017-11-25 12:48:40 -05:00
Nikita Pekin 2096650427 impr: add T: Send for AtomicLazyCell Sync impl
Add a `T: Send` to the existing `T: Sync` restriction on the `AtomicLazyCell`
`Sync` impl.
This is necessary because filling an `AtomicLazyCell` only requires a reference
to the cell (i.e. `&AtomicLazyCell`), which means that an empty
`&AtomicLazyCell<T>` can be passed to a child thread (provided that
`AtomicLazyCell<T>: Sync` is satisfied), and filled on the child thread.
The filled value would then be on the stack of, and destroyed by, the
parent thread.

Kudos to dbaupp on Reddit for this recommendation.

Closes #67.
BREAKING CHANGE: the `AtomicLazyCell` `Sync` impl now has a `<T: Sync + Send>`
    constraint instead of a `<T: Sync>` constraint.

    To migrate your code, remove any `AtomicLazyCell<T>` instances where
    `<T: Sync + !Send>`, as this usecase is no longer supported.
2017-11-25 12:48:40 -05:00
Aleksey Kladov f2e8d8bfd7 chore: Aleksey Kladov to CONTRIBUTORS.md 2017-11-24 16:19:26 -05:00
Aleksey Kladov 7fcea17e7d fix: fix soundness hole in borrow_with
closes #66
2017-11-24 16:19:26 -05:00
Aleksey Kladov 99d5ceb74a feat: add LazyCell::try_borrow_with 2017-11-24 16:19:26 -05:00
Nikita Pekin 8e386653bd chore: increment minimum rustc version
Increment the minimum rustc version to support the carrier trait ("?").
2017-11-24 09:41:18 -05:00
Aleksey Kladov ad8b557ad8 feat: add LazyCell::borrow_mut method 2017-11-24 09:25:33 -05:00
Nikita Pekin 279be5b707 Merge pull request #71 from indiv0/cut-release
Cut the 0.5.0 release
2017-03-23 23:16:27 -04:00
Nikita Pekin 3ed7ea0e0b chore: cut the 0.5.0 release
Cut the 0.5.0 release.
Update the version in `Cargo.toml`.
Update `CHANGELOG.md`.
2017-03-23 23:11:46 -04:00
Jack O'Connor c9cce369a7 impr: derive Debug impls
Derive `Debug` impls for the `LazyCell` and `AtomicLazyCell` structs.
2017-03-23 23:06:27 -04:00
Nikita Pekin a7fef4b05c Merge pull request #70 from indiv0/update-rustc
Update minimum rustc version
2017-03-23 17:47:31 -04:00
Nikita Pekin 2690a549db chore: update minimum rustc version
Update minimum rustc version.
2017-03-23 17:37:19 -04:00
Nikita Pekin c0cf593807 Merge pull request #65 from novacrazy/master
Add get method for Copy types
2017-02-23 19:28:43 -05:00
Aaron Trent 4bf7051e9d chore: Add Aaron Trent to CONTRIBUTORS.md 2017-02-23 18:25:36 -06:00
Aaron Trent b804158838 feat: Add get method for Copy types 2017-02-23 18:09:51 -06:00
Nikita Pekin a538676aee Merge pull request #64 from indiv0/chore-contribution
Update contribution guidelines and fix minor issues
2017-02-23 13:48:55 -05:00
Nikita Pekin c524a37756 chore: add copyright & contribution info
Add information on updating copyright dates and the `CONTRIBUTORS.md` to the
`CONTRIBUTING.md`.

Closes #63.
2017-02-23 13:42:02 -05:00
Nikita Pekin a80564b259 chore: update copyright dates
Update copyright dates to include 2017 where necessary.

Closes #61.
2017-02-23 13:41:51 -05:00
Nikita Pekin 9f0b4b6c57 chore: add oconnor663 to contributors
Add oconnor663 to `CONTRIBUTORS.md` list.

Closes #62.
2017-02-23 13:41:24 -05:00
Nikita Pekin cfd1865d22 Merge pull request #60 from oconnor663/master
docs: fix missing backticks
2017-02-23 09:21:45 -05:00
Jack O'Connor f319e05acb docs: fix missing backticks 2017-02-21 23:41:37 -05:00