Fixed the memory functions required for LLVM to properly work.
This required the fixing of the features section to properly handle passing on the use_std feature. It also required that the memory functions were moved to the main library module instead of within the rust module as was previously desired. The C module then correctly skips defining the external C library functions. Basic time functionality was also added.
This commit is contained in:
12
src/c/mod.rs
Normal file
12
src/c/mod.rs
Normal file
@ -0,0 +1,12 @@
|
||||
//! Handle defining the external functions from what ever C library is
|
||||
//! being linked against. These will use the C99 definitions so that
|
||||
//! this library is as up-to-date as it can be.
|
||||
|
||||
|
||||
mod string;
|
||||
mod time;
|
||||
|
||||
|
||||
|
||||
pub use self::string::*;
|
||||
pub use self::time::*;
|
Reference in New Issue
Block a user