rust/tests/run-make/metadata-flag-frobs-symbols/foo.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
112 B
Rust
Raw Normal View History

#![crate_name = "foo"]
#![crate_type = "rlib"]
static FOO: usize = 3;
pub fn foo() -> &'static usize { &FOO }