Compare commits
No commits in common. "41d0fd57f30aee439550eb79f6d2833c4963b9b3" and "450962b1d0df7cb22b648788da25e574921e239a" have entirely different histories.
41d0fd57f3
...
450962b1d0
2 changed files with 3 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bevy_scriptum"
|
name = "bevy_scriptum"
|
||||||
authors = ["Jaroslaw Konik <konikjar@gmail.com>"]
|
authors = ["Jaroslaw Konik <konikjar@gmail.com>"]
|
||||||
version = "0.9.1"
|
version = "0.9.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
@ -32,7 +32,7 @@ mlua = { version = "0.9.8", features = [
|
||||||
"send",
|
"send",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
magnus = { version = "0.7.1", optional = true }
|
magnus = { version = "0.7.1", optional = true }
|
||||||
rb-sys = { version = "0.9", default-features = false, features = ["link-ruby", "ruby-static"], optional = true }
|
rb-sys = { version = "*", default-features = false, features = ["link-ruby", "ruby-static"], optional = true }
|
||||||
crossbeam-channel = "0.5.15"
|
crossbeam-channel = "0.5.15"
|
||||||
libc = "0.2.172"
|
libc = "0.2.172"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -510,7 +510,7 @@ impl<R: Runtime> Default for Callbacks<R> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(debug_assertions, unix))]
|
#[cfg(debug_assertions)]
|
||||||
pub extern "C" fn is_rdynamic_linking() -> bool {
|
pub extern "C" fn is_rdynamic_linking() -> bool {
|
||||||
unsafe {
|
unsafe {
|
||||||
// Get a function pointer to itself
|
// Get a function pointer to itself
|
||||||
|
|
@ -524,12 +524,6 @@ pub extern "C" fn is_rdynamic_linking() -> bool {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(not(debug_assertions), not(unix)))]
|
|
||||||
pub extern "C" fn is_rdynamic_linking() -> bool {
|
|
||||||
// On Windows or in release builds, return a default value
|
|
||||||
true
|
|
||||||
}
|
|
||||||
|
|
||||||
pub mod prelude {
|
pub mod prelude {
|
||||||
pub use crate::{BuildScriptingRuntime as _, Runtime as _, Script};
|
pub use crate::{BuildScriptingRuntime as _, Runtime as _, Script};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue