implement MAC auth for felica
This commit is contained in:
@@ -2,6 +2,17 @@ fn main() {
|
||||
println!("cargo:rerun-if-changed=Cargo.toml");
|
||||
patch_crate::run().expect("Failed while patching");
|
||||
|
||||
let iter = dotenvy::from_path_iter(".env")
|
||||
.expect("failed to read .env");
|
||||
|
||||
for item in iter {
|
||||
let (key, value) = item.expect("invalid .env entry");
|
||||
|
||||
println!("cargo::rustc-env={key}={value}");
|
||||
}
|
||||
|
||||
println!("cargo::rerun-if-changed=.env");
|
||||
|
||||
linker_be_nice();
|
||||
println!("cargo:rustc-link-arg=-Tdefmt.x");
|
||||
// make sure linkall.x is the last linker script (otherwise might cause problems with flip-link)
|
||||
|
||||
Reference in New Issue
Block a user