// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-pretty
+
#![feature(raw_identifiers)]
use std::mem;
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-pretty
+
#![feature(raw_identifiers)]
fn r#fn(r#match: u32) -> u32 {
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-pretty
+
#![feature(raw_identifiers)]
#[derive(Debug, PartialEq, Eq)]
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-pretty
+
#![feature(decl_macro)]
#![feature(raw_identifiers)]
// compiler flags set in the test cases:
cmd.env_remove("RUSTFLAGS");
- if self.config.target.contains("msvc") {
+ if self.config.target.contains("msvc") && self.config.cc != "" {
// We need to pass a path to `lib.exe`, so assume that `cc` is `cl.exe`
// and that `lib.exe` lives next to it.
let lib = Path::new(&self.config.cc).parent().unwrap().join("lib.exe");