diff options
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) } } |