Page MenuHomeFreeBSD

devel/cargo: Update to 0.15.0, enable on i386
ClosedPublic

Authored by dumbbell on Jan 21 2017, 12:53 PM.
Tags
None
Referenced Files
F103235202: D9273.diff
Fri, Nov 22, 12:11 PM
Unknown Object (File)
Fri, Nov 15, 11:20 PM
Unknown Object (File)
Fri, Oct 25, 3:31 PM
Unknown Object (File)
Oct 20 2024, 2:42 AM
Unknown Object (File)
Oct 14 2024, 11:43 AM
Unknown Object (File)
Sep 30 2024, 1:33 AM
Unknown Object (File)
Sep 27 2024, 5:18 AM
Unknown Object (File)
Sep 25 2024, 12:23 AM
Subscribers

Details

Summary
  1. Update the port to 0.15.0. The new version requires cargo(1) to be available. Therefore, we let the Ports system to extract the bootstrap cargo (it was done by the Cargo build system before) and set a configure flag to point to it. Also, we need to set OPENSSL_DIR as a Make environment variable because the openssl-sys crate's build.rs doesn't know about FreeBSD.
  2. Enable devel/cargo on i386. A bootstrap cargo executable is available for FreeBSD/i386 since last October but I missed it. We can now use it to build a port/package for i386.
Test Plan

Tested with Poudriere on HEAD/amd64 and 11.0/i386.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6924
Build 7112: arc lint + arc unit

Event Timeline

dumbbell retitled this revision from to devel/cargo: Update to 0.15.0, enable on i386.
dumbbell updated this object.
dumbbell edited the test plan for this revision. (Show Details)
dumbbell added reviewers: antoine, bapt.

Note that enabling Cargo on i386 will help with future versions of Firefox which will require Rust but not resolve it.

bapt edited edge metadata.
This revision is now accepted and ready to land.Jan 21 2017, 1:20 PM
This revision was automatically updated to reflect the committed changes.