compiletest-rs icon indicating copy to clipboard operation
compiletest-rs copied to clipboard

An extraction of the compiletest utility from the Rust compiler

Results 37 compiletest-rs issues
Sort by recently updated
recently updated
newest added

We added a `only-linux` test to our test suite and were very confused to see it run on macOS as well. Inspecting the compiletest-rs code, it looks like `only` has...

Rust's compiletest supports a `// compile-pass` header, which is the same as `// run-pass`, but without executing the resulting test binary. It would be nice if compiletest-rs supported this header,...

Hi, we are getting a compile error that we have not seen before within this library, the error is as follows. Would you be aware what is causing this and...

This seems to have something to do with nightly, not sure exactly what. Also, it only happens on OS X (I'm running the same tests on travis/appveyor on linux/osx/win). I've...

I described the issue in rust-lang/rust before ([link](https://github.com/rust-lang/rust/issues/57515)). As noted in that issue, all one needs to do is to create a `.gitattributes` that forces `LF` line endings on checkout....

Spaced paths are common on Windows, e.g. "C:\Program Files", but this is getting broken into separate arguments. Given "-L C:\Program Files...", rustc says "error: multiple input filenames provided", as "Files..."...

The library in the example project appears to be empty. None of the examples use anything from it. I'm trying to set this up for a library project and am...

There doesn't seem to be any tests checking that this library works for workspaces, and there are no disclaimers about this in the readme nor any docs.

The Rust 2018 edition removes the need for `extern crate`, but I still find myself needing to add it to my test files in order to get `compiletest` working. Is...

@laumann We need to parse the flags in utility methods like `.clean_rmeta()` which proves to be quite painful, e.g. link flags could be either `-Lfoo` or `-L foo` or `-Lnative=foo`,...