Revert "support sandboxed rust rules"
Revert submission 2629131-sandbox-rust-inputs Reason for revert: Fail on android build. Reverted changes: /q/submissionid:2629131-sandbox-rust-inputs Change-Id: Ifd9aa46e80a12d8f4ffa0a2daa74b96727cbb7e6
This commit is contained in:
@@ -30,7 +30,7 @@ func TestRustProcMacro(t *testing.T) {
|
||||
|
||||
libprocmacro := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Rule("rustc")
|
||||
|
||||
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)
|
||||
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"])
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user