Skip to content

build for xtensa architecture (esp32, embedded) fails with confusing error #759

Answered by ipetkov
crabdancing asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @crabdancing thanks for the reproduction!

This looks like a configuration issue: although you've added esp-rust to the devshell, it isn't actually configured as the toolchain for the derivation. You'll likely need to fix one of the following:

  • Set craneLib = (inputs.crane.mkLib pkgs).overrideToolchain esp-rust; here
  • Use craneLibLLvmTools.buildPackage here (currently craneLibLLvmTools isn't used anywhere)

Hope this helps!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ipetkov
Comment options

You must be logged in to vote
1 reply
@ipetkov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #756 on December 08, 2024 18:07.