Skip to content

Commit

Permalink
Remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinh Tran committed Nov 9, 2023
1 parent 464f03b commit 36651c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
27 changes: 0 additions & 27 deletions examples/toolchain-to-rebuild-std/stdlibs.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ package(default_visibility = ["//visibility:public"])

exports_files(["bin/*"])

# Flags for vendored dependencies.
COMMON_INTERNAL_CRATE_RUSTC_FLAGS = [
"--cap-lints=allow",
# Mix in some metadata to distinguish the rlibs of these private vendored
# crates from the rlibs of their public counterparts over at third_party/rust.
"-Cmetadata=rustc_internal",
# Ensure standard rust clients can't accidentally pull in the private crates.
# See https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html#-z-force-unstable-if-unmarked.
"-Zforce-unstable-if-unmarked",
]

filegroup(
name = "binaries",
srcs = glob([
Expand All @@ -24,22 +13,6 @@ filegroup(
]),
)

platform(
name = "aarch64-apple-darwin",
constraint_values = [
"@platforms//os:osx",
"@platforms//cpu:aarch64",
],
)

platform(
name = "wasm32-wasi",
constraint_values = [
"@platforms//os:wasi",
"@platforms//cpu:wasm32",
],
)

filegroup(
name = "stdlib_sources",
srcs = [
Expand Down
1 change: 0 additions & 1 deletion examples/toolchain-to-rebuild-std/toolchain/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ rust_stdlib_filegroup(
srcs = [":sysroot_with_stdlibs"],
)

# bazel build //toolchain:sysroot_with_stdlibs --platforms=//:aarch64-apple-darwin
toolchain_sysroot(
name = "sysroot_with_stdlibs",
srcs = [":stdlibs"],
Expand Down

0 comments on commit 36651c7

Please sign in to comment.