Commits on Source (11)
-
Steve Lhomme authoredac46208b
-
Steve Lhomme authored1919b8c7
-
Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz>
b045e846 -
Steve Lhomme authored46dd97a6
-
Steve Lhomme authored
If for some reason we don't have a proper value, we don't have a usable value, we cannot compile native rust code nor install the cross-compiler.
40a52d9b -
Steve Lhomme authored
It may be configured to default to another target. We need to check the RUST_HOST is supported because rustc returns a version even if the --target doesn't match a known target. Maybe in the future it will.
ab494f2c -
Steve Lhomme authored176813db
-
Steve Lhomme authored
The C compiler and native tools should be the BUILDxxx ones. The RUSTFLAGS are not needed, especially the target platform specific ones.
1b8a1f9c -
Steve Lhomme authored
cargo-capi is a native tool.
ac5a8d72 -
Steve Lhomme authored
PKGS_TOOLS are native tools that are used by VLC so they are rebuilt when using prebuilt contribs. cargo capi is only used to build rav1e, it's not needed when using prebuilt contribs. This may be reverted if we ever want to use cargo capi in VLC.
2f29e7e8 -
Steve Lhomme authored
There should be no difference: - the vendor system is meant to pick the source needed to rebuild the package for all targets, it doesn't require a target, in fact there is no "--target" option. - someone even made a tool to do vendoring for a specific target: https://users.rust-lang.org/t/is-it-possible-to-vendor-dependencies-only-for-a-given-target/90261/2 - before and after the patch the rav1e-vendor-build folder is the same - using CARGO_NATIVE on Linux I still get a ton of windows packages in the rav1e-vendor folder It may start a little faster while the cross compiler is being downloaded.
aeb91ea4
Showing
- contrib/bootstrap 4 additions, 0 deletionscontrib/bootstrap
- contrib/src/cargo-c/rules.mak 2 additions, 6 deletionscontrib/src/cargo-c/rules.mak
- contrib/src/get-rust-target.sh 215 additions, 0 deletionscontrib/src/get-rust-target.sh
- contrib/src/main-rust.mak 30 additions, 43 deletionscontrib/src/main-rust.mak
- contrib/src/rav1e/rules.mak 2 additions, 3 deletionscontrib/src/rav1e/rules.mak
- contrib/src/rustc/rules.mak 4 additions, 3 deletionscontrib/src/rustc/rules.mak
- extras/package/apple/build.sh 3 additions, 0 deletionsextras/package/apple/build.sh
contrib/src/get-rust-target.sh
0 → 100755