Page MenuHomeFreeBSD

USES=cargo to convert LDFLAGS into RUSTFLAGS
ClosedPublic

Authored by jbeich on Nov 18 2018, 8:25 PM.
Tags
None
Referenced Files
F104223697: D18039.diff
Wed, Dec 4, 11:43 PM
Unknown Object (File)
Sun, Dec 1, 11:57 PM
Unknown Object (File)
Tue, Nov 12, 3:17 PM
Unknown Object (File)
Oct 11 2024, 10:04 AM
Unknown Object (File)
Oct 3 2024, 5:52 PM
Unknown Object (File)
Oct 2 2024, 1:00 PM
Unknown Object (File)
Oct 2 2024, 8:16 AM
Unknown Object (File)
Sep 27 2024, 8:06 AM
Subscribers
None

Details

Reviewers
None
Group Reviewers
rust
O5: Ports Framework(Owns No Changed Paths)
portmgr
Commits
rP486769: USES=cargo to convert LDFLAGS into RUSTFLAGS
Summary

No consumers appear to require LDFLAGS at this time as only -fstack-protector is passed by default.

Test Plan

All consumers built fine (tested together with D18427).

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 21357
Build 20684: arc lint + arc unit

Event Timeline

Mk/Uses/cargo.mk
71

Should -C link-arg=* be before or after RUSTFLAGS (from environment or set by port)?

tobik requested changes to this revision.Nov 22 2018, 5:05 AM
tobik added inline comments.
Mk/Uses/cargo.mk
71

What does the extra : at the end do?

Should -C link-arg=* be before or after RUSTFLAGS (from environment or set by port)?

I don't think the order matters much since no port sets any -C link-arg in RUSTFLAGS. With this in place ports should manipulate LDFLAGS over RUSTFLAGS anyway.

This revision now requires changes to proceed.Nov 22 2018, 5:05 AM

Oops, meant to accept (if you remove the extra :).

This revision is now accepted and ready to land.Nov 22 2018, 5:06 AM
jbeich edited the test plan for this revision. (Show Details)
jbeich edited reviewers, added: rust; removed: tobik, dumbbell, riggs, koobs, will.
  • Drop spurious : (colon) as requested by @tobik
This revision now requires review to proceed.Dec 4 2018, 2:10 PM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 6 2018, 5:08 PM
This revision was automatically updated to reflect the committed changes.