forked from huonw/unicode_names
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unicode_names2_generator as build dependency
- Loading branch information
1 parent
d947e44
commit 8b4bcc5
Showing
10 changed files
with
43 additions
and
21,956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use std::{env, path::PathBuf}; | ||
use unicode_names2_generator as generator; | ||
|
||
fn main() { | ||
let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap()); | ||
{ | ||
let mut generated_path = out_dir.clone(); | ||
generated_path.push("generated.rs"); | ||
generator::generate(Some(&generated_path), None); | ||
} | ||
{ | ||
let mut generated_phf_path = out_dir.clone(); | ||
generated_phf_path.push("generated_phf.rs"); | ||
generator::generate_phf(Some(&generated_phf_path), None, 3, 2); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.