ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
ivche has quit [Read error: Connection reset by peer]
ivche has joined #rust-embedded
sroemer has quit [Ping timeout: 244 seconds]
sroemer has joined #rust-embedded
sroemer has quit [Quit: WeeChat 4.4.3]
sroemer has joined #rust-embedded
sroemer has quit [Changing host]
sroemer has joined #rust-embedded
Ralph[m] has quit [Quit: Idle timeout reached: 172800s]
pcs38 has joined #rust-embedded
wangeng[m] has joined #rust-embedded
<wangeng[m]> What's wrong for it?
sigmaris has quit [Ping timeout: 252 seconds]
sigmaris_ has joined #rust-embedded
sigmaris_ is now known as sigmaris
<adamgreig[m]> it might be that you're missing the linker script
<adamgreig[m]> you should either have a `build.rs` with `println!("cargo:rustc-link-arg=-Tlink.x");`, or a `.cargo/config.toml` with... (full message at <https://catircservices.org/_irc/v1/media/download/AWcrhaG_fdEKldt6_I-oTk_7BjZR1MXRPy_fF2jvDmlX8efTTfPxvLHDe07SEWFo5jmTURz7ABNktlJwP-JzJLq_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy9ZU05nRk1vR0FkSFV6RFhTUXVQa1d5Y2E>)
<adamgreig[m]> or something to that effect
<wangeng[m]> There are build.rs and memory.x file in workspace directory.
<JamesMunns[m]> you still need to tell the linker to use link.x, as Adam said above.
<JamesMunns[m]> cortex-m-rt provides `link.x`, which includes your `memory.x`, but you need to tell the linker to use `link.x` (either in the build-rs or `.cargo/config.toml`, which I haven't seen in any of your screenshots.
<wangeng[m]> uh,,,,, I'll try it later, thank you very much!
Noah[m] has joined #rust-embedded
<Noah[m]> What I find a bit unfortunate is that a missing linker script still compiles silently and is like "here take zero bytes binary"
<thejpster[m]> yeah, rust-lld seems to ship with a default configuration that just drops everything. That's not terribly helpful.
ello_ has quit [Ping timeout: 260 seconds]
ello has quit [Ping timeout: 265 seconds]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
pcs38 has quit [Quit: leaving]
ello_ has quit [Read error: Connection reset by peer]
ello_ has joined #rust-embedded
ello has quit [Ping timeout: 260 seconds]
ello_ has quit [Ping timeout: 276 seconds]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
ello_ has quit [Quit: ZNC 1.9.1 - https://znc.in]
ello has quit [Quit: ZNC 1.9.1 - https://znc.in]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
pcs38 has joined #rust-embedded
cr1901 has quit [Ping timeout: 252 seconds]
cr1901 has joined #rust-embedded
cr1901_ has joined #rust-embedded
cr1901 has quit [Ping timeout: 272 seconds]
ello- has joined #rust-embedded
ello_ has quit [Ping timeout: 260 seconds]
ello_ has joined #rust-embedded
ello- has quit [Ping timeout: 265 seconds]
pcs38 has quit [Quit: leaving]
cinemaSundays has joined #rust-embedded
ello- has joined #rust-embedded
cr1901_ is now known as cr1901
ello_ has quit [Ping timeout: 252 seconds]
ello has quit [Ping timeout: 260 seconds]
ello has joined #rust-embedded
ello has quit [Read error: Connection reset by peer]
ello- has quit [Read error: Connection reset by peer]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
ello_ has quit [Ping timeout: 260 seconds]
ello has quit [Ping timeout: 260 seconds]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
ello- has joined #rust-embedded
ello has quit [Read error: Connection reset by peer]
ello_ has quit [Read error: Connection reset by peer]
ello has joined #rust-embedded
ello_ has joined #rust-embedded
ello has quit [Read error: Connection reset by peer]
ello- has quit [Read error: Connection reset by peer]
ello has joined #rust-embedded