]> git.lizzy.rs Git - rust.git/blobdiff - src/shims/windows/dlsym.rs
Replace target.target with target
[rust.git] / src / shims / windows / dlsym.rs
index 91bfedff8db682870fe343c4120279f35613bf94..5454a00f14d5b7bdb606dec8610bfb1a1849b48d 100644 (file)
@@ -44,7 +44,7 @@ fn call_dlsym(
     ) -> InterpResult<'tcx> {
         let this = self.eval_context_mut();
         let (dest, ret) = ret.expect("we don't support any diverging dlsym");
-        assert!(this.tcx.sess.target.target.target_os == "windows");
+        assert!(this.tcx.sess.target.target_os == "windows");
 
         match dlsym {
             Dlsym::AcquireSRWLockExclusive => {