diff options
| author | khyperia <github@khyperia.com> | 2020-09-17 12:01:12 +0200 |
|---|---|---|
| committer | khyperia <github@khyperia.com> | 2020-09-17 12:01:12 +0200 |
| commit | c946c40d9d47328fc1a08919dec174a77c12fd6b (patch) | |
| tree | ce6e06c64ca6218b684dcad4b50943865ccfd0d2 /compiler/rustc_interface/src/tests.rs | |
| parent | 95386b656e91168bf53e2ab63c6b992cae591fe7 (diff) | |
| download | rust-c946c40d9d47328fc1a08919dec174a77c12fd6b.tar.gz rust-c946c40d9d47328fc1a08919dec174a77c12fd6b.zip | |
Let backends define custom targets
Add a target_override hook that takes priority over builtin targets.
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index dc4fa807f78..72e10bc4304 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -40,6 +40,7 @@ fn mk_session(matches: getopts::Matches) -> (Session, CfgSpecs) { DiagnosticOutput::Default, Default::default(), None, + None, ); (sess, cfg) } |
