Skip to content

Commit bf5770a

Browse files
authored
Merge pull request rust-lang#462 from rust-lang/fix/new-special-chars-libgccjit-api
Switch to the new set_special_chars_allowed_in_func_names API
2 parents d0ecf0c + 56dc8de commit bf5770a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ opt-level = 0
5959
debug = false
6060

6161
[package.metadata.rust-analyzer]
62-
rustc_private = true
62+
rustc_private = true

libgccjit.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cf9554126
1+
b6f163f52

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
277277
}
278278
#[cfg(feature = "master")]
279279
{
280-
context.set_allow_special_chars_in_func_names(true);
280+
context.set_special_chars_allowed_in_func_names("$.*");
281281
let version = Version::get();
282282
let version = format!("{}.{}.{}", version.major, version.minor, version.patch);
283283
context.set_output_ident(&format!(

0 commit comments

Comments
 (0)