mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
Update gccjit.rs version
This commit is contained in:
@@ -56,9 +56,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gccjit"
|
||||
version = "6.1.0"
|
||||
version = "7.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6d85b5754389edaad832ba320709a25086b3081a8c6c0fab2322965e5fb512b3"
|
||||
checksum = "dfdb84ba432f6679794790de652bfbed86201893a30c03dc669c2bfe7424f472"
|
||||
dependencies = [
|
||||
"gccjit_sys",
|
||||
]
|
||||
|
||||
@@ -20,7 +20,7 @@ default = ["master"]
|
||||
[dependencies]
|
||||
object = { version = "0.39.0", default-features = false, features = ["std", "read"] }
|
||||
tempfile = "3.20"
|
||||
gccjit = { version = "6.1.0", features = ["dlopen"] }
|
||||
gccjit = { version = "7.0.0", features = ["dlopen"] }
|
||||
#gccjit = { git = "https://github.com/rust-lang/gccjit.rs", branch = "error-dlopen", features = ["dlopen"] }
|
||||
|
||||
# Local copy.
|
||||
|
||||
@@ -236,7 +236,7 @@ impl CodegenBackend for GccCodegenBackend {
|
||||
lto_supported: gccjit::is_lto_supported(),
|
||||
});
|
||||
|
||||
gccjit::set_global_personality_function_name(b"rust_eh_personality\0");
|
||||
gccjit::set_global_personality_function_name(c"rust_eh_personality");
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "master"))]
|
||||
|
||||
Reference in New Issue
Block a user