Skip to content

Commit

Permalink
Switch to the new set_special_chars_allowed_in_func_names API
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Mar 1, 2024
1 parent d0ecf0c commit 56dc8de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ opt-level = 0
debug = false

[package.metadata.rust-analyzer]
rustc_private = true
rustc_private = true
2 changes: 1 addition & 1 deletion libgccjit.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cf9554126
b6f163f52
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit 56dc8de

Please sign in to comment.