Merge branch 'libm-rel' into 'master'

Fix libm rust feature not emitted

See merge request redox-os/relibc!1291
This commit is contained in:
Jeremy Soller
2026-05-09 07:59:55 -06:00
+1 -1
View File
@@ -186,7 +186,7 @@ $(BUILD)/debug/ld_so.o: $(SRC)
# Release targets
$(BUILD)/release/librelibc.a: $(SRC)
$(CARGO) rustc --release $(CARGOFLAGS) -- --emit link=$@ $(RUSTCFLAGS)
$(CARGO) rustc --release $(CARGOFLAGS) $(FEATURE_MATH) -- --emit link=$@ $(RUSTCFLAGS)
@# TODO: Better to only allow a certain whitelisted set of symbols? Perhaps
@# use some cbindgen hook, specify them manually, or grep for #[unsafe(no_mangle)].
./renamesyms.sh "$@" "$(BUILD)/release/deps/"