diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2019-08-19 15:36:03 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2019-08-19 16:26:20 +0200 |
| commit | ce860e5fdebd626d025d94d53629264923e441d8 (patch) | |
| tree | dcd915288ff0d7276f509662327a13bf82c2ff29 /example/mini_core.rs | |
| parent | 2a20cc0b94a60447c159095676d5813dd508d894 (diff) | |
| download | rust-ce860e5fdebd626d025d94d53629264923e441d8.tar.gz rust-ce860e5fdebd626d025d94d53629264923e441d8.zip | |
Fix cross crate static duplicate codegen
Diffstat (limited to 'example/mini_core.rs')
| -rw-r--r-- | example/mini_core.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index 78b493e0515..a271cb6e62e 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -529,3 +529,5 @@ pub macro line() { /* compiler built-in */ } #[rustc_builtin_macro] #[rustc_macro_transparency = "semitransparent"] pub macro cfg() { /* compiler built-in */ } + +pub static A_STATIC: u8 = 42; |
