Switch to the new set_special_chars_allowed_in_func_names API
This commit is contained in:
parent
d0ecf0c262
commit
56dc8de1db
4 changed files with 5 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -80,7 +80,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gccjit"
|
name = "gccjit"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
source = "git+https://github.com/antoyo/gccjit.rs#af31863f5f2a32f1c805444bfb6e8c174d6da8f4"
|
source = "git+https://github.com/antoyo/gccjit.rs#9f8f67edc006d543b17529a001803ffece48349e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"gccjit_sys",
|
"gccjit_sys",
|
||||||
]
|
]
|
||||||
|
@ -88,7 +88,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gccjit_sys"
|
name = "gccjit_sys"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
source = "git+https://github.com/antoyo/gccjit.rs#af31863f5f2a32f1c805444bfb6e8c174d6da8f4"
|
source = "git+https://github.com/antoyo/gccjit.rs#9f8f67edc006d543b17529a001803ffece48349e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
|
@ -59,4 +59,4 @@ opt-level = 0
|
||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
[package.metadata.rust-analyzer]
|
[package.metadata.rust-analyzer]
|
||||||
rustc_private = true
|
rustc_private = true
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
cf9554126
|
b6f163f52
|
||||||
|
|
|
@ -277,7 +277,7 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "master")]
|
#[cfg(feature = "master")]
|
||||||
{
|
{
|
||||||
context.set_allow_special_chars_in_func_names(true);
|
context.set_special_chars_allowed_in_func_names("$.*");
|
||||||
let version = Version::get();
|
let version = Version::get();
|
||||||
let version = format!("{}.{}.{}", version.major, version.minor, version.patch);
|
let version = format!("{}.{}.{}", version.major, version.minor, version.patch);
|
||||||
context.set_output_ident(&format!(
|
context.set_output_ident(&format!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue