!15 merge master into master

nix新增bundle.json部件化

Created-by: dragonswordy
Commit-by: ljy9810
Merged-by: openharmony_ci
Description: ## What does this PR do

## Checklist:

- [ ] I have read `CONTRIBUTING.md`
- [ ] I have written necessary tests and rustdoc comments
- [ ] A change log has been added if this PR modifies nix's API

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

See merge request: openharmony/third_party_rust_nix!15
This commit is contained in:
openharmony_ci
2025-12-31 22:04:46 +08:00
2 changed files with 37 additions and 0 deletions
+3
View File
@@ -69,4 +69,7 @@ ohos_cargo_crate("lib") {
"user",
"zerocopy",
]
module_output_extension = ".rlib"
part_name = "rust_nix"
subsystem_name = "thirdparty"
}
+34
View File
@@ -0,0 +1,34 @@
{
"name": "@ohos/rust_nix",
"description": "A Rust library that provides support for interacting with Unix-like operating systems.",
"version": "5.0",
"license": "MIT License",
"publishAs": "code-segment",
"segment": {
"destPath": "third_party/rust/crates/nix"
},
"dirs": {},
"scripts": {},
"readmePath": {
"en": "README.md"
},
"component": {
"name": "rust_nix",
"subsystem": "thirdparty",
"adapted_system_type": [
"standard"
],
"deps": {
"components": []
},
"build": {
"sub_component": [],
"inner_kits": [
{
"name": "//third_party/rust/crates/nix:lib"
}
],
"test": []
}
}
}