Dash:
[t2-trunk.git] / package / rust / rustc / i486.patch
blobda650b0d80dc544948ea2062eb8c43ad4ae81afe
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/rustc/i486.patch
3 # Copyright (C) 2020 - 2022 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Let's add i386 and i486 for embedded, bootloader or other early kernel code.
16 - Signed-off-by: René Rebe <rene@exactcode.de>
18 --- rustc-1.57.0-src/compiler/rustc_target/src/spec/mod.rs.vanilla 2021-12-24 11:13:30.855060886 +0100
19 +++ rustc-1.57.0-src/compiler/rustc_target/src/spec/mod.rs 2021-12-24 11:14:05.705062683 +0100
20 @@ -746,4 +746,6 @@
21 ("i686-unknown-linux-gnu", i686_unknown_linux_gnu),
22 ("i586-unknown-linux-gnu", i586_unknown_linux_gnu),
23 + ("i486-unknown-linux-gnu", i486_unknown_linux_gnu),
24 + ("i386-unknown-linux-gnu", i386_unknown_linux_gnu),
25 ("m68k-unknown-linux-gnu", m68k_unknown_linux_gnu),
26 ("mips-unknown-linux-gnu", mips_unknown_linux_gnu),
27 --- rustc-1.48.0-src/src/tools/build-manifest/src/main.rs.vanilla 2020-12-25 22:51:50.639703846 +0100
28 +++ rustc-1.48.0-src/src/tools/build-manifest/src/main.rs 2020-12-25 22:52:22.467703148 +0100
29 @@ -90,6 +90,8 @@
30 "asmjs-unknown-emscripten",
31 "i386-apple-ios",
32 "i586-pc-windows-msvc",
33 + "i386-unknown-linux-gnu",
34 + "i486-unknown-linux-gnu",
35 "i586-unknown-linux-gnu",
36 "i586-unknown-linux-musl",
37 "i686-apple-darwin",