about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2024-03-01 12:20:59 -0500
committerAntoni Boucher <bouanto@zoho.com>2024-03-01 12:21:31 -0500
commit56dc8de1db5510ccc0545238f556e38b7cc3933f (patch)
tree05e6e48c5448569eb4adfb5d5f18e01214ad9efb
parentd0ecf0c262e85876734799c342891845be07e7fb (diff)
downloadrust-56dc8de1db5510ccc0545238f556e38b7cc3933f.tar.gz
rust-56dc8de1db5510ccc0545238f556e38b7cc3933f.zip
Switch to the new set_special_chars_allowed_in_func_names API
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--libgccjit.version2
-rw-r--r--src/lib.rs2
4 files changed, 5 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c004c7b992f..ffbd4ee39de 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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",
 ]
diff --git a/Cargo.toml b/Cargo.toml
index 85ad69e00fd..e23aaeab977 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -59,4 +59,4 @@ opt-level = 0
 debug = false
 
 [package.metadata.rust-analyzer]
-rustc_private = true
\ No newline at end of file
+rustc_private = true
diff --git a/libgccjit.version b/libgccjit.version
index ad2c3b12b87..41bec6df5d9 100644
--- a/libgccjit.version
+++ b/libgccjit.version
@@ -1 +1 @@
-cf9554126
+b6f163f52
diff --git a/src/lib.rs b/src/lib.rs
index 0f57465591d..19e441bae96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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!(