mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 18:18:53 +00:00
12 lines
271 B
Rust
12 lines
271 B
Rust
// 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!");
|
|
}
|