Skip to content

Commit 971598b

Browse files
committed
Removes -Zunstable-options for rustdoc testing
1 parent 0e3c5f2 commit 971598b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cargo/core/compiler/compilation.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ impl<'cfg> Compilation<'cfg> {
140140
pub fn rustdoc_process(&self, pkg: &Package, target: &Target) -> CargoResult<ProcessBuilder> {
141141
let mut p = self.fill_env(process(&*self.config.rustdoc()?), pkg, false)?;
142142
if target.edition() != Edition::Edition2015 {
143-
p.arg("-Zunstable-options");
144143
p.arg(format!("--edition={}", target.edition()));
145144
}
146145
Ok(p)

0 commit comments

Comments
 (0)