Fixed the library to use the new Rust 2018 module system.
This commit is contained in:
parent
824605a198
commit
7fcc81dedb
@ -7,6 +7,7 @@ license = ""
|
||||
repository = "https://gitlab.com/CyberMages/Core/binding.git"
|
||||
documentation = ""
|
||||
keywords = ["binding", "c types", "c enums", "c flags", "c strings"]
|
||||
edition = "2018"
|
||||
|
||||
|
||||
[features]
|
||||
|
@ -7,7 +7,7 @@ c_enum!
|
||||
{
|
||||
/// Test enum is a simple enum testing the
|
||||
/// capabilities of creating a C enum.
|
||||
enum TestEnum : i32
|
||||
enum TestEnum: i32
|
||||
{
|
||||
/// This is the first item.
|
||||
variant One = 1,
|
||||
|
@ -14,7 +14,6 @@
|
||||
#[cfg(not(feature="use_std"))]
|
||||
extern crate core as std;
|
||||
|
||||
#[macro_use]
|
||||
extern crate scribe;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user