We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust-lld
Getting the following when trying cargo build/run.
A popup shows up with this text: the code execution cannot proceed because zlib1__.dll was not found. Reinstalling the program may fix this problem.
Then in the terminal it says error: linking with rust-lld failed: exit code: 0xc0000135
See full build bellow.
(win 10, nightly-x86_64-pc-windows-gnu, rustc 1.53.0-nightly (07e0e2ec2 2021-03-24))
C:\projects\embedded\rp-rs\sample-project>cargo build Compiling typenum v1.13.0 Compiling proc-macro2 v1.0.24 Compiling semver-parser v0.7.0 Compiling version_check v0.9.3 Compiling unicode-xid v0.2.1 Compiling cortex-m v0.7.2 (https://github.com/rust-embedded/cortex-m#87f6c01d) Compiling ucd-trie v0.1.3 Compiling syn v1.0.65 Compiling stable_deref_trait v1.2.0 Compiling nb v1.0.0 Compiling void v1.0.2 Compiling vcell v0.1.3 Compiling bitfield v0.13.2 Compiling debug-helper v0.3.10 Compiling cortex-m v0.6.7 Compiling heapless v0.5.6 Compiling byteorder v1.4.3 Compiling defmt-parser v0.1.0 Compiling cortex-m-rt v0.6.13 Compiling rp2040-pac v0.1.1 (https://github.com/rp-rs/rp2040-pac?branch=main#f4339cb8) Compiling panic-probe v0.1.0 Compiling r0 v0.2.2 Compiling rp-test v0.1.0 (C:\projects\embedded\rp-rs\sample-project) Compiling semver v0.9.0 Compiling pest v2.1.3 Compiling nb v0.1.3 Compiling generic-array v0.14.4 Compiling volatile-register v0.2.0 Compiling crc-any v2.3.5 Compiling hash32 v0.1.1 Compiling embedded-hal v0.2.4 Compiling rustc_version v0.2.3 Compiling rp2040-boot2 v0.1.2 (https://github.com/rp-rs/rp2040-boot2-rs?branch=main#dae42b2d) Compiling bare-metal v0.2.5 Compiling semver-parser v0.10.2 Compiling quote v1.0.9 Compiling semver v0.11.0 Compiling generic-array v0.12.4 Compiling generic-array v0.13.3 Compiling defmt v0.1.3 Compiling as-slice v0.1.5 Compiling aligned v0.3.4 Compiling defmt-macros v0.1.1 Compiling cortex-m-rt-macros v0.1.8 Compiling defmt-rtt v0.1.0 warning: unused imports: `watchdog`, `xosc` --> src\main.rs:9:11 | 9 | use pac::{watchdog, xosc}; | ^^^^^^^^ ^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `` --> src\pll.rs:2:21 | 2 | use defmt::{assert, *}; | ^ warning: constant is never used: `TIMER` --> src\resets.rs:7:1 | 7 | pub const TIMER: u32 = 0x00200000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: constant is never used: `TBMAN` --> src\resets.rs:8:1 | 8 | pub const TBMAN: u32 = 0x00100000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `SYSINFO` --> src\resets.rs:9:1 | 9 | pub const SYSINFO: u32 = 0x00080000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `SYSCFG` --> src\resets.rs:10:1 | 10 | pub const SYSCFG: u32 = 0x00040000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PWM` --> src\resets.rs:14:1 | 14 | pub const PWM: u32 = 0x00004000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PIO1` --> src\resets.rs:17:1 | 17 | pub const PIO1: u32 = 0x00000800; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PIO0` --> src\resets.rs:18:1 | 18 | pub const PIO0: u32 = 0x00000400; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PADS_BANK0` --> src\resets.rs:20:1 | 20 | pub const PADS_BANK0: u32 = 0x00000100; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `JTAG` --> src\resets.rs:21:1 | 21 | pub const JTAG: u32 = 0x00000080; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `IO_BANK0` --> src\resets.rs:23:1 | 23 | pub const IO_BANK0: u32 = 0x00000020; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `I2C1` --> src\resets.rs:24:1 | 24 | pub const I2C1: u32 = 0x00000010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `I2C0` --> src\resets.rs:25:1 | 25 | pub const I2C0: u32 = 0x00000008; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `DMA` --> src\resets.rs:26:1 | 26 | pub const DMA: u32 = 0x00000004; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `BUSCTRL` --> src\resets.rs:27:1 | 27 | pub const BUSCTRL: u32 = 0x00000002; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: linking with `rust-lld` failed: exit code: 0xc0000135 | = note: "rust-lld" "-flavor" "gnu" "--eh-frame-hdr" "-L" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\rp_test-89693fdeb81732ff.rp_test.c856skbz-cgu.0.rcgu.o" "-o" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\rp_test-89693fdeb81732ff" "--gc-sections" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\debug\\deps" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\rp-test-19c606f0fce00403\\out" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\cortex-m-7babba7b7dd4585a\\out" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\cortex-m-rt-1587981b35ffb7fb\\out" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\defmt-bef2f13d6af39a96\\out" "-L" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "-Bstatic" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\librp2040_boot2-c0e3ccaa3cf1298c.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\librp2040_pac-39abca7eff2b5ee4.rlib" "--start-group" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libpanic_probe-47714ef64375d9fd.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libdefmt_rtt-e929c86401207f39.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libcortex_m-d34fc5d972339d0b.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libcortex_m-e98dff07c75c7072.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libembedded_hal-5f4cf4c0e964df7a.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libvoid-513a952dcb0743cb.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libnb-c644e2ee3c32e0f5.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libnb-fd01214d2a0d8f57.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libvolatile_register-b768ea5d3a9b3411.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libvcell-613f1ac525fb5d9f.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libbare_metal-0b94a32f9f2a743b.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libaligned-01c2d97cab05660d.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libas_slice-fae539af1eb4038f.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libstable_deref_trait-a94dea9ac439073d.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libgeneric_array-4eac4ad1e1df63ae.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libgeneric_array-365e96ff0e208b79.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libdefmt-edf9c4e950afda45.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libheapless-e266fa6f233fedd5.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libhash32-425106a200b4b796.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libbyteorder-b5a8e1a19af1f6a6.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libgeneric_array-64af7e003b7d02af.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libtypenum-f9ec1d697242b3b5.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libcortex_m_rt-a1a893f98b054067.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libr0-c05ff71e88493f55.rlib" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\librustc_std_workspace_core-14eda5ac28319027.rlib" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\libcore-b359574cade0493c.rlib" "--end-group" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\libcompiler_builtins-4446c87f50781d06.rlib" "--nmagic" "-Tlink.x" "-Tdefmt.x" "-Bdynamic" = note: error: aborting due to previous error; 16 warnings emitted error: could not compile `rp-test` To learn more, run the command again with --verbose. C:\projects\embedded\rp-rs\sample-project>cargo run Compiling rp-test v0.1.0 (C:\projects\embedded\rp-rs\sample-project) warning: unused imports: `watchdog`, `xosc` --> src\main.rs:9:11 | 9 | use pac::{watchdog, xosc}; | ^^^^^^^^ ^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `` --> src\pll.rs:2:21 | 2 | use defmt::{assert, *}; | ^ warning: constant is never used: `TIMER` --> src\resets.rs:7:1 | 7 | pub const TIMER: u32 = 0x00200000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: constant is never used: `TBMAN` --> src\resets.rs:8:1 | 8 | pub const TBMAN: u32 = 0x00100000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `SYSINFO` --> src\resets.rs:9:1 | 9 | pub const SYSINFO: u32 = 0x00080000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `SYSCFG` --> src\resets.rs:10:1 | 10 | pub const SYSCFG: u32 = 0x00040000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PWM` --> src\resets.rs:14:1 | 14 | pub const PWM: u32 = 0x00004000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PIO1` --> src\resets.rs:17:1 | 17 | pub const PIO1: u32 = 0x00000800; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PIO0` --> src\resets.rs:18:1 | 18 | pub const PIO0: u32 = 0x00000400; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `PADS_BANK0` --> src\resets.rs:20:1 | 20 | pub const PADS_BANK0: u32 = 0x00000100; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `JTAG` --> src\resets.rs:21:1 | 21 | pub const JTAG: u32 = 0x00000080; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `IO_BANK0` --> src\resets.rs:23:1 | 23 | pub const IO_BANK0: u32 = 0x00000020; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `I2C1` --> src\resets.rs:24:1 | 24 | pub const I2C1: u32 = 0x00000010; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `I2C0` --> src\resets.rs:25:1 | 25 | pub const I2C0: u32 = 0x00000008; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `DMA` --> src\resets.rs:26:1 | 26 | pub const DMA: u32 = 0x00000004; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant is never used: `BUSCTRL` --> src\resets.rs:27:1 | 27 | pub const BUSCTRL: u32 = 0x00000002; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: linking with `rust-lld` failed: exit code: 0xc0000135 | = note: "rust-lld" "-flavor" "gnu" "--eh-frame-hdr" "-L" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\rp_test-89693fdeb81732ff.rp_test.c856skbz-cgu.0.rcgu.o" "-o" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\rp_test-89693fdeb81732ff" "--gc-sections" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\debug\\deps" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\rp-test-19c606f0fce00403\\out" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\cortex-m-7babba7b7dd4585a\\out" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\cortex-m-rt-1587981b35ffb7fb\\out" "-L" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\build\\defmt-bef2f13d6af39a96\\out" "-L" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "-Bstatic" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\librp2040_boot2-c0e3ccaa3cf1298c.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\librp2040_pac-39abca7eff2b5ee4.rlib" "--start-group" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libpanic_probe-47714ef64375d9fd.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libdefmt_rtt-e929c86401207f39.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libcortex_m-d34fc5d972339d0b.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libcortex_m-e98dff07c75c7072.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libembedded_hal-5f4cf4c0e964df7a.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libvoid-513a952dcb0743cb.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libnb-c644e2ee3c32e0f5.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libnb-fd01214d2a0d8f57.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libvolatile_register-b768ea5d3a9b3411.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libvcell-613f1ac525fb5d9f.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libbare_metal-0b94a32f9f2a743b.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libaligned-01c2d97cab05660d.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libas_slice-fae539af1eb4038f.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libstable_deref_trait-a94dea9ac439073d.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libgeneric_array-4eac4ad1e1df63ae.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libgeneric_array-365e96ff0e208b79.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libdefmt-edf9c4e950afda45.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libheapless-e266fa6f233fedd5.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libhash32-425106a200b4b796.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libbyteorder-b5a8e1a19af1f6a6.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libgeneric_array-64af7e003b7d02af.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libtypenum-f9ec1d697242b3b5.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libcortex_m_rt-a1a893f98b054067.rlib" "C:\\projects\\embedded\\rp-rs\\sample-project\\target\\thumbv6m-none-eabi\\debug\\deps\\libr0-c05ff71e88493f55.rlib" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\librustc_std_workspace_core-14eda5ac28319027.rlib" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\libcore-b359574cade0493c.rlib" "--end-group" "C:\\Users\\Frank\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\libcompiler_builtins-4446c87f50781d06.rlib" "--nmagic" "-Tlink.x" "-Tdefmt.x" "-Bdynamic" = note: error: aborting due to previous error; 16 warnings emitted error: could not compile `rp-test` To learn more, run the command again with --verbose. C:\projects\embedded\rp-rs\sample-project>
The text was updated successfully, but these errors were encountered:
Looks like it's an issue with rust-lld.exe and not with this lib. I'm using nightly-x86_64-pc-windows-gnu.
rust-lang/rustup#485
Fixed by switching over to windows-msvc toolchain.
Sorry, something went wrong.
No branches or pull requests
Getting the following when trying cargo build/run.
A popup shows up with this text: the code execution cannot proceed because zlib1__.dll was not found. Reinstalling the program may fix this problem.
Then in the terminal it says error: linking with
rust-lld
failed: exit code: 0xc0000135See full build bellow.
(win 10, nightly-x86_64-pc-windows-gnu, rustc 1.53.0-nightly (07e0e2ec2 2021-03-24))
The text was updated successfully, but these errors were encountered: