fix build under newer KConfig by bump cmake min version

This commit is contained in:
2024-09-04 19:01:58 +08:00
parent 727a2ec214
commit 9fb3681e3a
1022 changed files with 4414 additions and 1375 deletions

View File

@ -0,0 +1,4 @@
fn main() {
let r#true = false;
println!("{}", r#true);
}

View File

@ -0,0 +1,4 @@
2 400 401 + fn main() {
0 401 401 | let r#true = false;
0 401 401 | println!("{}", r#true);
0 401 400 | }

View File

@ -0,0 +1,4 @@
{6}fn{0} {17}main{16}(){0} {16}{{0}
{6}let{0} {17}r#true{0} {16}={0} {6}false{16};{0}
{19}println!{16}({13}"{}"{16},{0} {17}r#true{16});{0}
{16}}

View File

@ -0,0 +1,5 @@
fn main() {
let a: i128 = 42i128;
let b: u128 = 1337u128;
println!("{} + {} = {}", a, b, (a as u128) + b);
}

View File

@ -0,0 +1,6 @@
2 400 401 + fn main() {
0 401 401 | let a: i128 = 42i128;
0 401 401 | let b: u128 = 1337u128;
0 401 401 | println!("{} + {} = {}", a, b, (a as u128) + b);
0 401 400 | }
1 400 400

View File

@ -0,0 +1,5 @@
{6}fn{0} {17}main{16}(){0} {16}{{0}
{6}let{0} {17}a{16}:{0} {7}i128{0} {16}={0} {5}42i128{16};{0}
{6}let{0} {17}b{16}:{0} {7}u128{0} {16}={0} {5}1337u128{16};{0}
{19}println!{16}({13}"{} + {} = {}"{16},{0} {17}a{16},{0} {17}b{16},{0} {16}({17}a{0} {6}as{0} {7}u128{16}){0} {16}+{0} {17}b{16});{0}
{16}}{0}

View File

@ -0,0 +1,11 @@
/**
* SCE_RUST_COMMENTBLOCKDOC
*/
fn main() {
/// SCE_RUST_COMMENTLINEDOC
println!("Hello, World!");
}
// SCE_RUST_COMMENTLINE
/*
* SCE_RUST_COMMENTBLOCK
*/

View File

@ -0,0 +1,12 @@
2 400 401 + /**
0 401 401 | * SCE_RUST_COMMENTBLOCKDOC
0 401 400 | */
2 400 401 + fn main() {
0 401 401 | /// SCE_RUST_COMMENTLINEDOC
0 401 401 | println!("Hello, World!");
0 401 400 | }
0 400 400 // SCE_RUST_COMMENTLINE
2 400 401 + /*
0 401 401 | * SCE_RUST_COMMENTBLOCK
0 401 400 | */
1 400 400

View File

@ -0,0 +1,11 @@
{3}/**
* SCE_RUST_COMMENTBLOCKDOC
*/{0}
{6}fn{0} {17}main{16}(){0} {16}{{0}
{4}/// SCE_RUST_COMMENTLINEDOC{0}
{19}println!{16}({13}"Hello, World!"{16});{0}
{16}}{0}
{2}// SCE_RUST_COMMENTLINE{0}
{1}/*
* SCE_RUST_COMMENTBLOCK
*/{0}

View File

@ -0,0 +1,3 @@
/// GitHub Issue #35
fn main() {}
/*

View File

@ -0,0 +1,3 @@
0 400 400 /// GitHub Issue #35
0 400 400 fn main() {}
2 400 401 + /*

View File

@ -0,0 +1,3 @@
{4}/// GitHub Issue #35{0}
{6}fn{0} {17}main{16}(){0} {16}{}{0}
{1}/*

View File

@ -0,0 +1,12 @@
lexer.*.rs=rust
keywords.*.rs= \
alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self sizeof static struct super trait true type typeof unsafe unsized use virtual while yield
keywords2.*.rs= \
bool char f32 f64 i16 i32 i64 i128 i8 int str u16 u32 u64 u128 u8 uint
keywords3.*.rs=Self
fold=1
fold.comment=1