about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorkhyperia <github@khyperia.com>2020-09-17 12:01:12 +0200
committerkhyperia <github@khyperia.com>2020-09-17 12:01:12 +0200
commitc946c40d9d47328fc1a08919dec174a77c12fd6b (patch)
treece6e06c64ca6218b684dcad4b50943865ccfd0d2 /compiler/rustc_interface/src/tests.rs
parent95386b656e91168bf53e2ab63c6b992cae591fe7 (diff)
downloadrust-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.rs1
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)
 }