diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-20 23:37:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-20 23:37:39 +0100 |
| commit | 51fd48f1579b3bb8e0ecf311eb33db2dae674f09 (patch) | |
| tree | 96a00cc2aced887feec185b141a08ab3230fbe75 /src/test/codegen/src-hash-algorithm | |
| parent | e901b24310d05dedd8d5f6d20285fd91a6d86714 (diff) | |
| parent | 4e17170c54c3e8bbff9cee1937dd6ab3b2001857 (diff) | |
| download | rust-51fd48f1579b3bb8e0ecf311eb33db2dae674f09.tar.gz rust-51fd48f1579b3bb8e0ecf311eb33db2dae674f09.zip | |
Rollup merge of #93099 - tomkris:rustdoc-fix, r=jsha
rustdoc: auto create output directory when "--output-format json" This PR allows rustdoc to automatically create output directory in case it does not exist (when run with `--output-format json`). This fixes rustdoc crash: ```` $ rustdoc --output-format json -Z unstable-options src/main.rs error: couldn't generate documentation: No such file or directory (os error 2) | = note: failed to create or modify "doc/main.json" error: aborting due to previous error ```` With this fix behavior of `rustdoc --output-format json` becomes consistent with `rustdoc --output-format html` (which already auto-creates output directory if it's missing)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
