1
0
Fork 0
forked from wry/wry

fix warnings

This commit is contained in:
kossLAN 2026-06-06 23:13:47 -04:00
parent 4680fc8dbc
commit 0606b4c0e1
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -203,6 +203,7 @@ pub unsafe fn init(
init: InitMessage, init: InitMessage,
f: fn(), f: fn(),
) -> *const u8 { ) -> *const u8 {
super::logging::init();
let client = Rc::new(ConfigClient { let client = Rc::new(ConfigClient {
configure: f, configure: f,
srv_data, srv_data,

View file

@ -77,6 +77,7 @@ fn main() -> anyhow::Result<()> {
println!("cargo:rerun-if-changed=src/bridge.c"); println!("cargo:rerun-if-changed=src/bridge.c");
cc::Build::new() cc::Build::new()
.file("src/bridge.c") .file("src/bridge.c")
.opt_level(2)
.compile("jay-libinput-bridge"); .compile("jay-libinput-bridge");
let mut f = open("libinput_tys.rs")?; let mut f = open("libinput_tys.rs")?;