Alexander Kanavin
e33afcd0dc
rust-common.bbclass: use built-in rust targets for -native builds
...
Rust targets have the form of 'arch-unknown-linux-gnu' while
oe's native targets are 'arch-linux-gnu', e.g. omit the vendor.
The effect this has on rust-native builds is that rust first builds
itself as stage0 for arch-unknown-linux-gnu, then builds itself
again for arch-unknown-linux-gnu, then finally uses the compiler
from second step to 'cross-compile' a compiler for 'arch-linux-gnu'.
This last step is really not necessary, and we could save 4 minutes
out of 12 if it is eliminated. Which is what this patch does
by setting the target directly to 'arch-unknown-linux-gnu'; rust's
build system then shortcuts the build process after the second step.
Given a working rust-native will be needed as early as possible in a
typical yocto build (e.g. when in a not too distant future making a
useful kernel will not be possible without rust), producing it faster
is important.
(From OE-Core rev: a918ea5645d8a67cedaf3ecf6c382520bbcad85b)
Signed-off-by: Alexander Kanavin <alex@linutronix.de >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2022-11-02 09:21:29 +00:00
..
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-31 10:40:07 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-11-01 17:34:58 +00:00
2022-11-01 17:34:58 +00:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-08 14:59:39 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-28 08:01:10 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-10-26 12:28:39 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-29 08:05:24 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-01 10:14:01 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:46:49 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-10-28 09:44:52 +01:00
2022-08-12 15:27:17 +01:00
2022-09-13 10:36:50 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-10-26 12:28:39 +01:00
2022-10-26 12:28:40 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-25 11:08:06 +01:00
2022-09-09 12:24:43 +01:00
2022-10-26 12:28:37 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-10-25 13:42:02 +01:00
2022-09-01 10:07:02 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-10-29 16:28:36 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-28 08:01:10 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-11-02 09:21:29 +00:00
2022-10-28 09:44:52 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-09-26 22:04:35 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-10-26 12:28:40 +01:00
2022-08-12 15:27:17 +01:00
2022-10-26 12:28:40 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00
2022-08-12 15:27:17 +01:00