update cfgs
This commit is contained in:
parent
be78dabe18
commit
22998f0785
57 changed files with 107 additions and 356 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#[inline(always)]
|
||||
#[cfg_attr(bootstrap, rustc_const_stable(feature = "const_unicode_case_lookup", since = "1.84.0"))]
|
||||
const fn bitset_search<
|
||||
const N: usize,
|
||||
const CHUNK_SIZE: usize,
|
||||
|
|
|
|||
|
|
@ -97,10 +97,6 @@ impl RawEmitter {
|
|||
|
||||
self.blank_line();
|
||||
|
||||
writeln!(
|
||||
&mut self.file,
|
||||
r#"#[cfg_attr(bootstrap, rustc_const_stable(feature = "const_unicode_case_lookup", since = "1.84.0"))]"#
|
||||
).unwrap();
|
||||
writeln!(&mut self.file, "pub const fn lookup(c: char) -> bool {{").unwrap();
|
||||
if first_code_point > 0x7f {
|
||||
writeln!(&mut self.file, " (c as u32) >= {first_code_point:#04x} &&").unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue