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]]
|
||||
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",
|
||||
]
|
||||
|
|
|
@ -1 +1 @@
|
|||
cf9554126
|
||||
b6f163f52
|
||||
|
|
|
@ -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!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue