fix warnings hopefully (#245)
This commit is contained in:
parent
1dddf7e677
commit
2282b09ef5
@ -261,8 +261,7 @@ macro_rules! export_runtime {
|
||||
// mean that this is 'safe'.
|
||||
static mut GLOBAL_DATA: Option<$rt> = None;
|
||||
|
||||
#[cfg(not(test))]
|
||||
#[$crate::ctor]
|
||||
#[cfg_attr(not(test), $crate::ctor)]
|
||||
fn init() {
|
||||
// See comment on GLOBAL_DATA declaration.
|
||||
unsafe {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// this is required to be allowed to call the final executable what we want (and need) in Cargo.toml
|
||||
#![allow(non_snake_case)]
|
||||
//! Just a small runtime to be used in the smoke test.
|
||||
|
||||
use symcc_runtime::{
|
||||
|
Loading…
x
Reference in New Issue
Block a user