Move TARGET in lib.rs into new mod target.rs

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-06 22:00:01 +10:00
parent 6ab55d9dda
commit 69f2a56595
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 4 additions and 2 deletions

2
src/target.rs Normal file
View file

@ -0,0 +1,2 @@
/// Compiled target triple, used as default for binary fetching
pub const TARGET: &str = env!("TARGET");