Skip to content

Commit c9c81d9

Browse files
authored
Rollup merge of #79484 - sreehax:master, r=Mark-Simulacrum
add enable-full-tools to freebsd builds to prevent occasional link er… On FreeBSD, there is sometimes an issue where linking a rust program will fail due to rust not finding a linker, even though lld is included in the base system. This seems to mostly affect bare metal/cross compilation things, such as wasm builds and arm/riscv bare metal work (eg. when trying to compile [this](https://github.com/quantumscraps/scraps)). On Linux and other operating systems, full tools are enabled for builds of rust, so there are no linking issues. This pr should enable fully functional builds on FreeBSD, assuming rust builds correctly with these options.
2 parents ca8a1b0 + 7e00222 commit c9c81d9

File tree

1 file changed

+6
-1
lines changed
  • src/ci/docker/host-x86_64/dist-x86_64-freebsd

1 file changed

+6
-1
lines changed

src/ci/docker/host-x86_64/dist-x86_64-freebsd/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,10 @@ ENV \
3030

3131
ENV HOSTS=x86_64-unknown-freebsd
3232

33-
ENV RUST_CONFIGURE_ARGS --enable-extended --enable-profiler --enable-sanitizers --disable-docs
33+
ENV RUST_CONFIGURE_ARGS \
34+
--enable-full-tools \
35+
--enable-extended \
36+
--enable-profiler \
37+
--enable-sanitizers \
38+
--disable-docs
3439
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS

0 commit comments

Comments
 (0)