diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2024-11-14 16:01:00 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2024-11-27 10:18:48 +0100 |
commit | c55a81b17ddd3e213915ce1a4e52f42115620e7e (patch) | |
tree | 96caab0b7143a9a23de0badc345db4ef48401994 | |
parent | 576cef0810e78805e4ac5d8b019e4773bc58bebb (diff) | |
download | rules-rust-c55a81b17ddd3e213915ce1a4e52f42115620e7e.tar.gz |
just-import-cargo: convert a default dict to normal dict
-rwxr-xr-x | bin/just-import-cargo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/just-import-cargo.py b/bin/just-import-cargo.py index 86d55da..e82c0c9 100755 --- a/bin/just-import-cargo.py +++ b/bin/just-import-cargo.py @@ -447,7 +447,7 @@ def compute_targets( d = defaultdict(list) d["type"] = ["@", "rules", "cargo", "feature"] d["name"] = [f] - targets[f] = d + targets[f] = dict(d) with open(targets_file, "w") as f: print(hdumps(targets), file=f) return targets |