]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/issue-68794-textrel-on-minimal-lib/foo.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / run-make-fulldeps / issue-68794-textrel-on-minimal-lib / foo.rs
1 #![crate_type = "staticlib"]
2
3 #[no_mangle]
4 pub extern "C" fn foo(x: u32) {
5     // using the println! makes it so that enough code from the standard
6     // library is included (see issue #68794)
7     println!("foo: {}", x);
8 }