]> git.lizzy.rs Git - rust.git/blobdiff - src/bin/miri.rs
Update to a new nightly.
[rust.git] / src / bin / miri.rs
index a03d0a46ca93b91e1a4b01eb4b9fff92f734ec25..49d49650ea5cc961104ac982ef2158872fcf23f1 100644 (file)
@@ -1,6 +1,7 @@
 #![feature(rustc_private, custom_attribute)]
 #![allow(unused_attributes)]
 
+extern crate getopts;
 extern crate miri;
 extern crate rustc;
 extern crate rustc_driver;
 struct MiriCompilerCalls;
 
 impl<'a> CompilerCalls<'a> for MiriCompilerCalls {
-    fn build_controller(&mut self, _: &Session) -> driver::CompileController<'a> {
+    fn build_controller(
+        &mut self,
+        _: &Session,
+        _: &getopts::Matches
+    ) -> driver::CompileController<'a> {
         let mut control = driver::CompileController::basic();
 
         control.after_analysis.callback = Box::new(|state| {