diff options
author | 2023-09-20 18:48:21 +0000 | |
---|---|---|
committer | 2023-09-20 18:48:21 +0000 | |
commit | 52d1cc334b688d648680c4f365f813a269457b93 (patch) | |
tree | 2ddafd5fabc9881fe6772680b55385199d2e5ad2 /rust/proc_macro_test.go | |
parent | c331812a59f04a3e79bd300f436aeb6473098ebc (diff) | |
parent | a588d153c85485336e0509f475a4eec653be339b (diff) |
Merge changes from topics "revert-2746976-revert-2605644-rulebuilder-ninja-vars-OAAWYCDDLT-KMAGKVIXAT", "sandbox-rust-inputs" into main
* changes:
support sandboxed rust rules
conditionally escape rule builder command
Revert^2 "allow Ninja variables in RuleBuilder API"
Revert^2 "add crate_root property to rust modules"
Revert^2 "add rust_toolchain_rustc_prebuilt module type"
Diffstat (limited to 'rust/proc_macro_test.go')
-rw-r--r-- | rust/proc_macro_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/proc_macro_test.go b/rust/proc_macro_test.go index cc8193858..a547926fc 100644 --- a/rust/proc_macro_test.go +++ b/rust/proc_macro_test.go @@ -30,7 +30,7 @@ func TestRustProcMacro(t *testing.T) { libprocmacro := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Rule("rustc") - if !strings.Contains(libprocmacro.Args["rustcFlags"], "--extern proc_macro") { - t.Errorf("--extern proc_macro flag not being passed to rustc for proc macro %#v", libprocmacro.Args["rustcFlags"]) + if !strings.Contains(libprocmacro.RuleParams.Command, "--extern proc_macro") { + t.Errorf("--extern proc_macro flag not being passed to rustc for proc macro %#v", libprocmacro.RuleParams.Command) } } |