Skip to content

Commit 8e38d48

Browse files
hofbiUebelAndreillicitonion
authored
Update bazel_env example based on the latest changes and add CI (#3668)
- It is no longer required to list all individual manifests - Also we should track the MODULE.bazel.lock file - Add bazel_env example to bazelci - Tag broken test as manual to be fixed in a follow up PR Co-authored-by: UebelAndre <[email protected]> Co-authored-by: Daniel Wagner-Hall <[email protected]>
1 parent 6a43fb1 commit 8e38d48

File tree

4 files changed

+391
-5
lines changed

4 files changed

+391
-5
lines changed

examples/bazel_env/.bazelrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ build --incompatible_autoload_externally=
4040
# A configuration for disabling bzlmod.
4141
common:no-bzlmod --noenable_bzlmod --enable_workspace
4242

43-
# Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock
44-
common --lockfile_mode=off
45-
4643
###############################################################################
4744
## Custom user flags
4845
##

examples/bazel_env/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
resolver = "2"
33
members = [
44
"rust/hello_world"
5-
]
5+
]

examples/bazel_env/MODULE.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ crate.from_cargo(
3535
cargo_lockfile = "//:Cargo.lock",
3636
manifests = [
3737
"//:Cargo.toml",
38-
"//rust/hello_world:Cargo.toml",
3938
],
4039
)
4140
use_repo(crate, "crates")

0 commit comments

Comments
 (0)