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
Unknown Object (File)
Thu, Apr 11, 5:40 AM
Unknown Object (File)
Mon, Apr 8, 1:51 PM
Unknown Object (File)
Mar 13 2024, 8:29 PM
Unknown Object (File)
Mar 13 2024, 8:29 PM
Unknown Object (File)
Mar 13 2024, 8:29 PM
Unknown Object (File)
Mar 13 2024, 8:12 PM
Unknown Object (File)
Feb 8 2024, 12:51 AM
Unknown Object (File)
Jan 23 2024, 8:27 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
Lint Not Applicable
Unit
Tests Not Applicable

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.