Skip to content

Commit

Permalink
fix buildifier and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkMyCar committed Dec 15, 2024
1 parent 3bf3de5 commit 9d0e55c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -894,13 +894,13 @@ rust_toolchain = rule(
default = Label("//rust/settings:incompatible_do_not_include_data_in_compile_data"),
doc = "Label to a boolean build setting that controls whether to include data files in compile_data.",
),
"_no_std": attr.label(
default = Label("//rust/settings:no_std"),
),
"_lto": attr.label(
providers = [RustLtoInfo],
default = Label("//rust/settings:lto"),
),
"_no_std": attr.label(
default = Label("//rust/settings:no_std"),
),
"_pipelined_compilation": attr.label(
default = Label("//rust/settings:pipelined_compilation"),
),
Expand Down
1 change: 1 addition & 0 deletions test/unit/lto/lto_test_suite.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def lto_test_suite(name):
name = "crate_lib",
out = "lib.rs",
content = [
"#[allow(dead_code)]",
"fn add() {}",
"",
],
Expand Down

0 comments on commit 9d0e55c

Please sign in to comment.