blob: 198f8d1bc10c158530f479f9eb6e3a9c78361a62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Ensure that Cranelift can be used to compile a simple program with `x86_64-unknown-linux-gnu`
// dist artifacts.
//@ only-dist
//@ only-x86_64-unknown-linux-gnu
//@ compile-flags: -Z codegen-backend=cranelift
//@ run-pass
fn main() {
println!("Hello world!");
}
|