mirror of https://github.com/m-labs/artiq.git
firmware: remove unnecessary git_describe rust-cfg
This commit is contained in:
parent
ea135f9d06
commit
8459cfe8db
|
@ -45,8 +45,6 @@ pub fn git_describe() {
|
||||||
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||||
let mut f = File::create(out_dir.join("git-describe")).unwrap();
|
let mut f = File::create(out_dir.join("git-describe")).unwrap();
|
||||||
write!(f, "{}", version).unwrap();
|
write!(f, "{}", version).unwrap();
|
||||||
|
|
||||||
println!("cargo:rust-cfg=git_describe={:?}", version);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn misoc_cfg() {
|
pub fn misoc_cfg() {
|
||||||
|
|
Loading…
Reference in New Issue