Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
run-make
/
rustdoc-output-path
/
rmake.rs
blob: 7f6accf26c2133711cb700083d558a3f1cbe8ca8 [
file
] [
log
] [
blame
] [
edit
]
// Checks that if the output folder doesn't exist, rustdoc will create it.
use
run_make_support
::{
path
,
rustdoc
};
fn
main
()
{
let
out_dir
=
path
(
"foo/bar/doc"
);
rustdoc
().
input
(
"foo.rs"
).
out_dir
(&
out_dir
).
run
();
assert
!(
out_dir
.
exists
());
}