mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Switch to the new set_special_chars_allowed_in_func_names API
This commit is contained in:
parent
d0ecf0c262
commit
56dc8de1db
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",
|
||||
]
|
||||
|
@ -59,4 +59,4 @@ opt-level = 0
|
||||
debug = false
|
||||
|
||||
[package.metadata.rust-analyzer]
|
||||
rustc_private = true
|
||||
rustc_private = true
|
||||
|
@ -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…
Reference in New Issue
Block a user