blob: 6d12ab1e4cf6f8efad4689f8b80b315ab167e379 [file] [log] [blame]
// Ensure that Cranelift can be used to compile a simple program with `x86_64-unknown-linux-gnu`
// dist artifacts.
//@ only-dist
//@ only-nightly (cranelift is not stable yet)
//@ only-x86_64-unknown-linux-gnu
//@ compile-flags: -Z codegen-backend=cranelift
//@ run-pass
fn main() {
println!("Hello world!");
}