Skip to content

Commit

Permalink
update libs, add byondapi_stack_trace
Browse files Browse the repository at this point in the history
  • Loading branch information
jupyterkat committed Oct 26, 2024
1 parent 213526d commit 99ae255
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/byondapi-rs-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions crates/byondapi-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
5 changes: 4 additions & 1 deletion crates/byondapi-rs/src/binds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion crates/byondapi-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 99ae255

Please sign in to comment.