]> git.proxmox.com Git - cargo.git/commitdiff
Removes -Zunstable-options for rustdoc testing
authorJoel Gallant <joel@joelgallant.me>
Thu, 20 Sep 2018 20:04:19 +0000 (14:04 -0600)
committerJoel Gallant <joel@joelgallant.me>
Thu, 20 Sep 2018 20:04:19 +0000 (14:04 -0600)
src/cargo/core/compiler/compilation.rs

index d479a6141255012a584048ee994e1846926a2ff6..2427941b4d1b1320905e7cea51dc6847710a43fa 100644 (file)
@@ -140,7 +140,6 @@ impl<'cfg> Compilation<'cfg> {
     pub fn rustdoc_process(&self, pkg: &Package, target: &Target) -> CargoResult<ProcessBuilder> {
         let mut p = self.fill_env(process(&*self.config.rustdoc()?), pkg, false)?;
         if target.edition() != Edition::Edition2015 {
-            p.arg("-Zunstable-options");
             p.arg(format!("--edition={}", target.edition()));
         }
         Ok(p)