diff --git a/crates/byondapi-rs-test/Cargo.toml b/crates/byondapi-rs-test/Cargo.toml index 7a35000..19ebd65 100644 --- a/crates/byondapi-rs-test/Cargo.toml +++ b/crates/byondapi-rs-test/Cargo.toml @@ -10,6 +10,6 @@ crate-type = ["cdylib"] [dependencies] byondapi = { path = "../byondapi-rs" } -tempfile = "3.10.1" +tempfile = "3.13.0" cargo_metadata = "0.18.1" eyre = "0.6.12" diff --git a/crates/byondapi-rs/Cargo.toml b/crates/byondapi-rs/Cargo.toml index 4fc2e37..3990837 100644 --- a/crates/byondapi-rs/Cargo.toml +++ b/crates/byondapi-rs/Cargo.toml @@ -15,9 +15,9 @@ exclude = [".vscode/*"] [dependencies] byondapi-sys = { path = "../byondapi-sys", version = "0.11.2" } byondapi-macros = { path = "../byondapi-macros", version = "0.1.3" } -libloading = "0.8.4" +libloading = "0.8.5" inventory = "0.3.15" -num_enum = "0.7.2" +num_enum = "0.7.3" [features] default = ["byond-515-1621"] diff --git a/crates/byondapi-rs/src/binds.rs b/crates/byondapi-rs/src/binds.rs index 22c0ad3..02c66b4 100644 --- a/crates/byondapi-rs/src/binds.rs +++ b/crates/byondapi-rs/src/binds.rs @@ -27,7 +27,10 @@ pub fn generate_bindings(libname: &str) { return __{libname} = \"{libname}\" #define {libname_upper} (__{libname} || __detect_{libname}()) - + +/proc/byondapi_stack_trace(msg) + CRASH(msg) + " )) .unwrap(); diff --git a/crates/byondapi-sys/Cargo.toml b/crates/byondapi-sys/Cargo.toml index 26c1105..3422741 100644 --- a/crates/byondapi-sys/Cargo.toml +++ b/crates/byondapi-sys/Cargo.toml @@ -20,7 +20,7 @@ targets = [] # Do not build the doc with any other libloading = "0.8" [build-dependencies] -bindgen = "0.69" +bindgen = "0.70" doxygen-rs = "0.4" [features]