File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tests/run-make/inaccessible-temp-dir Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1313// use a directory with non-existing parent like `/does-not-exist/output`.
1414// See https://github.com/rust-lang/rust/issues/66530
1515
16+ //@ ignore-riscv64
17+ // Reason: The riscv build container runs as root, and can always write
18+ // into `inaccessible/tmp`
1619//@ ignore-arm
1720// Reason: linker error on `armhf-gnu`
1821//@ ignore-windows
1922// Reason: `set_readonly` has no effect on directories
2023// and does not prevent modification.
2124
22- use run_make_support:: { fs_wrapper, rustc, target , test_while_readonly} ;
25+ use run_make_support:: { fs_wrapper, rustc, test_while_readonly} ;
2326
2427fn main ( ) {
2528 // Create an inaccessible directory.
@@ -28,7 +31,6 @@ fn main() {
2831 // Run rustc with `-Z temps-dir` set to a directory *inside* the inaccessible one,
2932 // so that it can't create `tmp`.
3033 rustc ( )
31- . target ( & target ( ) )
3234 . input ( "program.rs" )
3335 . arg ( "-Ztemps-dir=inaccessible/tmp" )
3436 . run_fail ( )
You can’t perform that action at this time.
0 commit comments