mirror of
https://gitee.com/openharmony/third_party_rust_unicode-ident
synced 2024-11-23 07:29:52 +00:00
Add @generated comment to the top of tables.rs
This commit is contained in:
parent
84e8e04650
commit
ad753364e0
@ -149,6 +149,19 @@ fn main() {
|
||||
}
|
||||
|
||||
let mut out = Output::new();
|
||||
writeln!(
|
||||
out,
|
||||
"// \x40generated by ../generate. To regenerate, run the following in the repo root:",
|
||||
);
|
||||
writeln!(out, "//");
|
||||
writeln!(
|
||||
out,
|
||||
"// $ curl -LO https://www.unicode.org/Public/zipped/14.0.0/UCD.zip",
|
||||
);
|
||||
writeln!(out, "// $ unzip UCD.zip -d UCD");
|
||||
writeln!(out, "// $ cargo run --manifest-path generate/Cargo.toml");
|
||||
writeln!(out);
|
||||
|
||||
writeln!(out, "const T: bool = true;");
|
||||
writeln!(out, "const F: bool = false;");
|
||||
writeln!(out);
|
||||
|
6
src/tables.rs
generated
6
src/tables.rs
generated
@ -1,3 +1,9 @@
|
||||
// @generated by ../generate. To regenerate, run the following in the repo root:
|
||||
//
|
||||
// $ curl -LO https://www.unicode.org/Public/zipped/14.0.0/UCD.zip
|
||||
// $ unzip UCD.zip -d UCD
|
||||
// $ cargo run --manifest-path generate/Cargo.toml
|
||||
|
||||
const T: bool = true;
|
||||
const F: bool = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user