@@ -21,7 +21,7 @@ fn main() {
2121 . unwrap ( )
2222 . write_all ( include_bytes ! ( "memory.x" ) )
2323 . unwrap ( ) ;
24- println ! ( "cargo:rustc-link-search={}" , out. display( ) ) ;
24+ println ! ( "cargo:: rustc-link-search={}" , out. display( ) ) ;
2525
2626 #[ cfg( not( feature = "skip-cyw43-firmware" ) ) ]
2727 download_cyw43_firmware ( ) ;
@@ -30,12 +30,12 @@ fn main() {
3030 // any file in the project changes. By specifying `memory.x`
3131 // here, we ensure the build script is only re-run when
3232 // `memory.x` is changed.
33- println ! ( "cargo:rerun-if-changed=memory.x" ) ;
33+ println ! ( "cargo:: rerun-if-changed=memory.x" ) ;
3434
35- println ! ( "cargo:rustc-link-arg-bins=--nmagic" ) ;
36- println ! ( "cargo:rustc-link-arg-bins=-Tlink.x" ) ;
37- println ! ( "cargo:rustc-link-arg-bins=-Tlink-rp.x" ) ;
38- println ! ( "cargo:rustc-link-arg-bins=-Tdefmt.x" ) ;
35+ println ! ( "cargo:: rustc-link-arg-bins=--nmagic" ) ;
36+ println ! ( "cargo:: rustc-link-arg-bins=-Tlink.x" ) ;
37+ println ! ( "cargo:: rustc-link-arg-bins=-Tlink-rp.x" ) ;
38+ println ! ( "cargo:: rustc-link-arg-bins=-Tdefmt.x" ) ;
3939}
4040
4141#[ cfg( not( feature = "skip-cyw43-firmware" ) ) ]
@@ -50,8 +50,8 @@ fn download_cyw43_firmware() {
5050 "README.md" ,
5151 ] ;
5252
53- println ! ( "cargo:rerun-if-changed=build.rs" ) ;
54- println ! ( "cargo:rerun-if-changed={}" , download_folder) ;
53+ println ! ( "cargo:: rerun-if-changed=build.rs" ) ;
54+ println ! ( "cargo:: rerun-if-changed={}" , download_folder) ;
5555 std:: fs:: create_dir_all ( download_folder) . expect ( "Failed to create download directory" ) ;
5656
5757 // download each file into the folder "cyw43-firmware"
0 commit comments