diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-08-19 18:26:08 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-08-20 09:55:31 -0400 |
| commit | 72e2cfd93438ef0109cbaca9f961efa5ac6d4f84 (patch) | |
| tree | 6d21e11a7aab94f1575300119b1331fb6e4d2552 /src/bootstrap | |
| parent | 99ce39b30a296354409c5161c4a5bc833f5f72d0 (diff) | |
| download | rust-72e2cfd93438ef0109cbaca9f961efa5ac6d4f84.tar.gz rust-72e2cfd93438ef0109cbaca9f961efa5ac6d4f84.zip | |
Remove serialization of diagnostics to files
This is no longer used by the index generator and was always an unstable compiler detail, so strip it out. This also leaves in RUSTC_ERROR_METADATA_DST since the stage0 compiler still needs it to be set.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/doc.rs | 3 | ||||
| -rw-r--r-- | src/bootstrap/test.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index 36229720e42..4f96c12fc1d 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -825,8 +825,7 @@ impl Step for ErrorIndex { index.arg(crate::channel::CFG_RELEASE_NUM); // FIXME: shouldn't have to pass this env var - index.env("CFG_BUILD", &builder.config.build) - .env("RUSTC_ERROR_METADATA_DST", builder.extended_error_dir()); + index.env("CFG_BUILD", &builder.config.build); builder.run(&mut index); } diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index c2c134bfd1d..87bd5cbacff 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1535,8 +1535,7 @@ impl Step for ErrorIndex { ); tool.arg("markdown") .arg(&output) - .env("CFG_BUILD", &builder.config.build) - .env("RUSTC_ERROR_METADATA_DST", builder.extended_error_dir()); + .env("CFG_BUILD", &builder.config.build); builder.info(&format!("Testing error-index stage{}", compiler.stage)); let _time = util::timeit(&builder); |
