diff --git a/toolchain/driver/testdata/fail_missing_stdin_output.carbon b/toolchain/driver/testdata/fail_missing_stdin_output.carbon index 6adb4f0cc2e0..23c8d730ae26 100644 --- a/toolchain/driver/testdata/fail_missing_stdin_output.carbon +++ b/toolchain/driver/testdata/fail_missing_stdin_output.carbon @@ -2,7 +2,9 @@ // Exceptions. See /LICENSE for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -// ARGS: --include-diagnostic-kind compile - +// This needs to disable the prelude because otherwise it tries opening prelude +// output files in bazel runfiles, which may not be writable. +// ARGS: --include-diagnostic-kind compile --no-prelude-import - // // AUTOUPDATE // TIP: To test this file alone, run: