lyon
January 1, 2022, 7:05pm
#1
I have built a custom toolchain 'dev' and used ./x.py install
, but use rustup add target
for 'dev' got an error:
$ rustup target add armebv7r-none-eabi --toolchain dev
error: toolchain 'dev' does not support components: dev is a custom toolchain
What can I do to make it right?
Thanks in advance!
bjorn3
January 1, 2022, 11:21pm
#3
You need to build the target when building the custom toolchain. You can pass --target
to x.py
. Make sure to also include the host target, otherwise build scripts and proc macros don't work.
lyon
January 2, 2022, 9:57am
#4
Thank you! You are totally right, it works!
system
closed
April 2, 2022, 9:57am
#5
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.