Switch to the new set_special_chars_allowed_in_func_names API

This commit is contained in:
Antoni Boucher 2024-03-01 12:20:59 -05:00
parent d0ecf0c262
commit 56dc8de1db
4 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View File

@ -80,7 +80,7 @@ dependencies = [
[[package]]
name = "gccjit"
version = "1.0.0"
source = "git+https://github.com/antoyo/gccjit.rs#af31863f5f2a32f1c805444bfb6e8c174d6da8f4"
source = "git+https://github.com/antoyo/gccjit.rs#9f8f67edc006d543b17529a001803ffece48349e"
dependencies = [
"gccjit_sys",
]
@ -88,7 +88,7 @@ dependencies = [
[[package]]
name = "gccjit_sys"
version = "0.0.1"
source = "git+https://github.com/antoyo/gccjit.rs#af31863f5f2a32f1c805444bfb6e8c174d6da8f4"
source = "git+https://github.com/antoyo/gccjit.rs#9f8f67edc006d543b17529a001803ffece48349e"
dependencies = [
"libc",
]

View File

@ -59,4 +59,4 @@ opt-level = 0
debug = false
[package.metadata.rust-analyzer]
rustc_private = true
rustc_private = true

View File

@ -1 +1 @@
cf9554126
b6f163f52

View File

@ -277,7 +277,7 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
}
#[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 = format!("{}.{}.{}", version.major, version.minor, version.patch);
context.set_output_ident(&format!(