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)
Wed, Jan 29, 12:27 PM
Unknown Object (File)
Thu, Jan 23, 2:37 PM
Unknown Object (File)
Jan 17 2025, 5:53 PM
Unknown Object (File)
Dec 27 2024, 12:27 AM
Unknown Object (File)
Nov 26 2024, 11:01 AM
Unknown Object (File)
Nov 22 2024, 5:30 PM
Unknown Object (File)
Nov 22 2024, 12:11 PM
Unknown Object (File)
Nov 15 2024, 11:20 PM
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.