Fix remote compilation of typenum rust package. (#32726)
This commit is contained in:
+1
-1
@@ -382,7 +382,7 @@ if (epoch == "2") {
|
||||
[crate.typenum]
|
||||
extra_build_script_src_roots = [ "../build" ]
|
||||
build_script_outputs = [ "consts.rs", "op.rs" ]
|
||||
extra_kv = { rustenv = [ "TYPENUM_BUILD_CONSTS=\" + rebase_path(target_gen_dir, get_path_info(crate_root, \"dir\")) + \"/lib/consts.rs", "TYPENUM_BUILD_OP=\" + rebase_path(target_gen_dir, get_path_info(crate_root, \"dir\")) + \"/lib/op.rs" ] }
|
||||
extra_kv = { rustenv = [ "TYPENUM_BUILD_CONSTS=\" + rebase_path(target_gen_dir, root_build_dir) + \"/lib/consts.rs", "TYPENUM_BUILD_OP=\" + rebase_path(target_gen_dir, root_build_dir) + \"/lib/op.rs" ] }
|
||||
|
||||
[crate.uint]
|
||||
license_files = ['../../../../../common/licenses/Apache-2.0']
|
||||
|
||||
Vendored
+2
-4
@@ -49,11 +49,9 @@ cargo_crate("lib") {
|
||||
"op.rs",
|
||||
]
|
||||
rustenv = [
|
||||
"TYPENUM_BUILD_CONSTS=" +
|
||||
rebase_path(target_gen_dir, get_path_info(crate_root, "dir")) +
|
||||
"TYPENUM_BUILD_CONSTS=" + rebase_path(target_gen_dir, root_build_dir) +
|
||||
"/lib/consts.rs",
|
||||
"TYPENUM_BUILD_OP=" +
|
||||
rebase_path(target_gen_dir, get_path_info(crate_root, "dir")) +
|
||||
"TYPENUM_BUILD_OP=" + rebase_path(target_gen_dir, root_build_dir) +
|
||||
"/lib/op.rs",
|
||||
]
|
||||
rustflags = []
|
||||
|
||||
Reference in New Issue
Block a user