File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tests/run-make/inaccessible-temp-dir Expand file tree Collapse file tree 1 file changed +6
-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+ // FIXME: The riscv build container runs as root, and can always write
18+ // into `inaccessible/tmp`. Ideally, the riscv64-gnu docker container
19+ // would use a non-root user, however leads to issues with `mkfs.ext4 -d`,
20+ // as well as mounting a loop device.
1621//@ ignore-arm
1722// Reason: linker error on `armhf-gnu`
1823//@ ignore-windows
1924// Reason: `set_readonly` has no effect on directories
2025// and does not prevent modification.
2126
22- use run_make_support:: { fs_wrapper, rustc, target , test_while_readonly} ;
27+ use run_make_support:: { fs_wrapper, rustc, test_while_readonly} ;
2328
2429fn main ( ) {
2530 // Create an inaccessible directory.
@@ -28,7 +33,6 @@ fn main() {
2833 // Run rustc with `-Z temps-dir` set to a directory *inside* the inaccessible one,
2934 // so that it can't create `tmp`.
3035 rustc ( )
31- . target ( target ( ) )
3236 . input ( "program.rs" )
3337 . arg ( "-Ztemps-dir=inaccessible/tmp" )
3438 . run_fail ( )
You can’t perform that action at this time.
0 commit comments