Skip to content

Commit 0e435f0

Browse files
authored
fix(cpp): Remove --locked option and delete cargo.lock file (#2949)
1 parent 2ea6d5b commit 0e435f0

File tree

3 files changed

+2
-4765
lines changed

3 files changed

+2
-4765
lines changed

foreign/cpp/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
bazel-*
2+
Cargo.lock

foreign/cpp/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ genrule(
2121
name = "cargo_build",
2222
srcs = glob(["src/**/*.rs"]) + [
2323
"Cargo.toml",
24-
"Cargo.lock",
2524
"build.rs",
2625
],
2726
outs = [
@@ -52,7 +51,7 @@ genrule(
5251
fi
5352
5453
mkdir -p "$$CARGO_TARGET_DIR"
55-
env -u PWD CARGO_TARGET_DIR="$$CARGO_TARGET_DIR" "$$CARGO" build $$FLAGS --locked
54+
env -u PWD CARGO_TARGET_DIR="$$CARGO_TARGET_DIR" "$$CARGO" build $$FLAGS
5655
5756
cp "$$CARGO_TARGET_DIR/$$PROFILE/libiggy_cpp.a" "$$OUT_LIB"
5857

0 commit comments

Comments
 (0)