mirror of
https://github.com/openharmony/third_party_rust_proc-macro2.git
synced 2026-07-01 20:24:03 -04:00
proc-macro2新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -32,4 +32,7 @@ ohos_cargo_crate("lib") {
|
||||
]
|
||||
build_root = "build.rs"
|
||||
build_sources = [ "build.rs" ]
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_proc_macro2"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "@ohos/rust_proc_macro2",
|
||||
"description": "A Rust library that provides support for error handling in procedural macros.",
|
||||
"version": "5.0",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/proc-macro2"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_proc_macro2",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/proc-macro2:lib"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user