about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2023-06-03 14:45:43 -0500
committerjyn <github@jyn.dev>2023-06-03 14:47:45 -0500
commit3f05b1fb2c90c88bbd5853928653247ad79b7047 (patch)
tree4a8b8b8181eed3e3fafe39bac2b2cd6456ff838d /compiler/rustc_codegen_llvm/src
parentc57eb1bb6e8284b141f715d83c4572559652586e (diff)
downloadrust-3f05b1fb2c90c88bbd5853928653247ad79b7047.tar.gz
rust-3f05b1fb2c90c88bbd5853928653247ad79b7047.zip
don't return a `Result` from symlink_dir_force
this gives a more helpful backtrace if it fails

before:
```
  thread 'main' panicked at 'symlink_dir_force(&builder.config, &out, &out_dir) failed with No such file or directory (os error 2)', doc.rs:697:9
```

after:
```
thread 'main' panicked at 'symlink_dir(config, original, link) failed with No such file or directory (os error 2) ("failed to create link from /home/jyn/src/rust2/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/doc -> /home/jyn/src/rust2/build/x86_64-unknown-linux-gnu/compiler-doc")', doc.rs:975:5
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions