Page MenuHomeFreeBSD

Mk/Uses/cargo.mk: Fix incorrect linker argument in RUSTFLAGS
ClosedPublic

Authored by michaelo on Aug 7 2025, 7:21 PM.
Tags
None
Referenced Files
F132395319: D51803.id159993.diff
Thu, Oct 16, 1:34 PM
Unknown Object (File)
Mon, Oct 13, 4:07 PM
Unknown Object (File)
Mon, Oct 13, 4:07 PM
Unknown Object (File)
Wed, Oct 8, 9:49 PM
Unknown Object (File)
Tue, Sep 30, 2:49 AM
Unknown Object (File)
Mon, Sep 29, 10:24 PM
Unknown Object (File)
Sat, Sep 27, 5:32 AM
Unknown Object (File)
Wed, Sep 24, 6:26 PM
Subscribers
None

Details

Summary

According to the manpage of rustc(1) it is: link-args='-flag1 -flag2'
an 's' was missing.

Approved by: jrm (mentor), otis (mentor)
MFH: 2025Q3

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

michaelo created this revision.

Please add reviewers as you think necessary.

michaelo retitled this revision from Mk/Uses/cargo.mk: Fix incorrect linker argument to Mk/Uses/cargo.mk: Fix incorrect linker argument in RUSTFLAGS.Aug 7 2025, 7:26 PM

Looks good to me. It would be good to hear from someone rust.

This revision is now accepted and ready to land.Aug 17 2025, 6:56 PM

I'm not sure if link-args is a valid argument, can't seem to find any clear documentation on this case.

Disregarg, it's in the manual page. LGTM then.

Let's wait for someone from rust team.

Will wait for rust reviewers for a couple of more days.