Changed the C library to properly be the default library.
This commit is contained in:
10
src/lib.rs
10
src/lib.rs
@ -20,10 +20,10 @@ extern crate binding;
|
||||
|
||||
|
||||
|
||||
#[cfg(feature="c_lib")]
|
||||
#[cfg(not(feature="rust_lib"))]
|
||||
mod c;
|
||||
|
||||
#[cfg(not(feature="c_lib"))]
|
||||
#[cfg(feature="rust_lib")]
|
||||
mod rust;
|
||||
|
||||
#[cfg(feature="no_mem_manip")]
|
||||
@ -31,11 +31,11 @@ mod mem;
|
||||
|
||||
|
||||
|
||||
#[cfg(feature="c_lib")]
|
||||
#[cfg(not(feature="rust_lib"))]
|
||||
pub use self::c::*;
|
||||
|
||||
#[cfg(not(feature="c_lib"))]
|
||||
#[cfg(feature="rust_lib")]
|
||||
pub use self::rust::*;
|
||||
|
||||
#[cfg(feature="no_mem_manip")]
|
||||
#[cfg(any(feature="no_mem_manip", feature="rust_lib"))]
|
||||
pub use self::mem::*;
|
||||
|
Reference in New Issue
Block a user