make rust bindings no_std compatible, fixes #872

pull/875/head
joseLuís 4 years ago
parent 0362a11f63
commit ba660aa69b

@ -21,9 +21,8 @@ keywords = ["tui", "cli", "terminal", "ncurses", "ffi"]
[dependencies]
libc = {version = "0.2.74", default-features = false}
cty = "0.2.1"
# blocked by: https://github.com/Amanieu/cstr_core/issues/4
# cstr_core = "0.2"
cstr_core = {path = "../../../../_temp_clones/cstr_core"}
# cstr_core = "0.2" # waiting for the next version after 0.2.0
cstr_core = {git= "https://github.com/Amanieu/cstr_core"}
libc-print = "0.1.13"
[build-dependencies]

@ -11,13 +11,12 @@
// --------------
// nckey_mouse_p
// nckey_supppuab_p
//
// use std::ffi::CString;
//
// use crate as ffi;
// use crate::types::{ChannelPair, IntResult};
// // Is this char32_t a Supplementary Private Use Area-B codepoint?
// static inline bool
// nckey_supppuab_p(char32_t w){

@ -51,8 +51,6 @@
// notcurses_term_dim_yx
// use std::ffi::CString;
//
// use crate as ffi;
// use crate::types::{ChannelPair, IntResult};

@ -22,8 +22,6 @@
// ncpixel_set_rgb
// use std::ffi::CString;
//
// use crate as ffi;
// use crate::types::{ChannelPair, IntResult};

Loading…
Cancel
Save