diff options
-rwxr-xr-x | bin/just-import-cargo.py | 1 | ||||
-rw-r--r-- | rules/cargo/RULES | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/just-import-cargo.py b/bin/just-import-cargo.py index e82c0c9..4507ed1 100755 --- a/bin/just-import-cargo.py +++ b/bin/just-import-cargo.py @@ -379,6 +379,7 @@ def compute_targets( d_build_script["name"] = ["build_script"] crate_root = os.path.relpath(t["src_path"], root_dir) d_build_script["crate_root"] = [crate_root] + d_build_script["extra_data"] = ["Cargo.toml"] d_build_script["arguments_config"] = config d_build_script["edition"] = [t["edition"]] d_build_script["stage"] = [rep_name] diff --git a/rules/cargo/RULES b/rules/cargo/RULES index dd48c4d..9d042dc 100644 --- a/rules/cargo/RULES +++ b/rules/cargo/RULES @@ -65,6 +65,7 @@ , "defaults": [{"type": "CALL_EXPRESSION", "name": "for host"}] , "deps": [{"type": "CALL_EXPRESSION", "name": "for host as rlib"}] , "srcs": [{"type": "CALL_EXPRESSION", "name": "for host"}] + , "extra_data": [{"type": "CALL_EXPRESSION", "name": "for host"}] } , "imports": { "call rustc artifact": ["./", "../rust", "call rustc artifact"] |