FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
rust Language with a focus on memory safety and concurrency
1.8.0 lang on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: riggs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 23 Jan 2012 16:07:20
License: APACHE20 MIT
Rust is an open-source systems programming language that runs blazingly
fast, prevents almost all crashes, and eliminates data races.
Some of its features:

  - Algebraic data types, type inference
  - Pattern matching and closures
  - Concurrency without data races
  - Guaranteed memory safety
  - Optional garbage collection
  - Zero-cost abstractions
  - Minimal runtime
  - Efficient C bindings

WWW: http://www.rust-lang.org/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/lang/rust/ && make install clean
To add the package: pkg install rust

PKGNAME: rust


Slave ports
  1. lang/rust-nightly

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake
  2. python2.7 : lang/python27
  3. python2 : lang/python2
Library dependencies:
  1. libedit.so.0 : devel/libedit

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for rust-1.8.0:
     GDB=off: Install ports gdb (necessary for debugging rust programs)
     LLNEXTGEN=off: Build with grammar verification
     PORT_LLVM=off: Build against devel/llvm36 instead of bundled version
===> Use 'make config' to modify these settings

USES:
compiler gmake libedit python:2,build

Master Sites:
  1. http://distcache.FreeBSD.org/ports-distfiles/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2014-07-10
    Affects: users of lang/rust
    Author: robak@FreeBSD.org
    Reason: 
      The lang/rust port was updated to 0.11 and is now only working on FreeBSD
      versions 10 and 11 -- the 9.x support has been removed by upstream.
    
    

Number of commits found: 52

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
17 Apr 2016 10:33:47
Original commit files touched by this commit  1.8.0
Revision:413503
riggs search for other commits by this committer
Make recent stage0 snapshot known to build system on DragonFly

Language changes require very recent stage0 snapshots to build
rust 1.8.0. Upstream forgot to make these snapshots known to the
build system. While this was patched for FreeBSD in r413501, it
was missed for DragonFly. This changeset fixes this.
17 Apr 2016 10:21:20
Original commit files touched by this commit  1.8.0
Revision:413501
riggs search for other commits by this committer
Update to upstream version 1.8.0

While on it:
- Incorporate patch by jbeich (D5897) to allow build with gcc

Differential Revision:	https://reviews.freebsd.org/D5897
07 Apr 2016 07:17:45
Original commit files touched by this commit  1.7.0
Revision:412657
jbeich search for other commits by this committer
lang/rust: unbreak non-poudriere build after r412305

gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/rust/work/rustc-1.7.0'
sed:
/wrkdirs/usr/ports/lang/rust/work/stage/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-:
No such file or directory
*** Error code 1

PR:		208527
Pointy hat:	jbeich
Tested by:	Marko Cupac <marko.cupac@mimar.rs>, pilot513@gmail.com
Approved by:	riggs (maintainer)
MFH:		2016Q2
02 Apr 2016 14:49:00
Original commit files touched by this commit  1.7.0
Revision:412407
jbeich search for other commits by this committer
lang/rust: enslave lang/rust-nightly

* rust: drop no longer used RUST_SOURCE variable
* rust: apply rust-nightly FIXME comment about stage-qa (strip)
* rust-nightly: properly conflict for install with rust package
* rust-nightly: inherit |make test| support from r401025
* rust-nightly: as DOCSDIR is the same drop unnecessary DOCS option

Approved by:	riggs, dumbbell (maintainers)
Differential Revision:	https://reviews.freebsd.org/D5789
01 Apr 2016 14:08:38
Original commit files touched by this commit  1.7.0
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 01:16:08
Original commit files touched by this commit  1.7.0
Revision:412305
jbeich search for other commits by this committer
lang/rust: apply minor style

- Fix MIT view for LICENSES_ASK=1
- Convert BROKEN to new syntax
- Concatenate find(1) arguments and drop unnecessary `cd`
31 Mar 2016 20:04:49
Original commit files touched by this commit  1.7.0
Revision:412296
jbeich search for other commits by this committer
lang/rust: unblock DragonFly build

=> rust-stage0-.tar.bz2 doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2
fetch: http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2: Not
Found

Reported by:	muscles.dragonflybsd.org
Approved by:	portmgr "just fix it" blanket
27 Mar 2016 17:10:15
Original commit files touched by this commit  1.7.0
Revision:411998
riggs search for other commits by this committer
Fix staging error on systems where security/sudo is present

PR:		207930
Reported by:	pete@hayes.id.au, kib (via mail)
25 Mar 2016 06:38:23
Original commit files touched by this commit  1.7.0
Revision:411819
riggs search for other commits by this committer
Re-enable build with ports LLVM by non-default OPTION

PR:		208250
Submitted by:	jbeich
05 Mar 2016 12:41:03
Original commit files touched by this commit  1.7.0
Revision:410175
riggs search for other commits by this committer
Update to upstream version 1.7.0
22 Jan 2016 06:13:25
Original commit files touched by this commit  1.6.0
Revision:406890
riggs search for other commits by this committer
Update to upstream version 1.6.0
13 Dec 2015 14:21:05
Original commit files touched by this commit  1.5.0
Revision:403672
riggs search for other commits by this committer
Update to upstream version 1.5.0; add OPTION to depend on gdb from ports
07 Nov 2015 22:17:36
Original commit files touched by this commit  1.4.0_1
Revision:401025
riggs search for other commits by this committer
- Take maintainership
- Provide target for 'make test': Use bundled rust regression test suite
- Use bundled LLVM for now: Built with it, rust passes more regression tests
- Bump PORTREVISION
30 Oct 2015 11:39:31
Original commit files touched by this commit  1.4.0
Revision:400535
riggs search for other commits by this committer
Update to upstream version 1.4.0
19 Sep 2015 18:22:07
Original commit files touched by this commit  1.3.0
Revision:397335
riggs search for other commits by this committer
Enable rust on i386
19 Sep 2015 12:18:13
Original commit files touched by this commit  1.3.0
Revision:397320
riggs search for other commits by this committer
Update to upstream version 1.3.0
12 Sep 2015 14:49:45
Original commit files touched by this commit  1.2.0
Revision:396750
dumbbell search for other commits by this committer
lang/rust and lang/rust-nightly: Build-conflict with themselves

A newer version of Rust fails to build if an older version is installed
because the build process picks libraries in %%LOCALBASE%%/lib before
those from the build directory.

In the pkg-plist of both ports, `x86_64-unknown-freebsd` is now a
variable automatically set in the Makefile. This avoids the need for a
separate port for DragonFlyBSD. [1]

Still in the pkg-plist, RUST_VSN_HASH is automatically computed in the
lang/rust's Makefile, like it was already done for lang/rust-nightly.

lang/rust-nightly USES libedit. patch-mk_main.mk was copied from
lang/rust so the correct library is picked (ie. the one from Ports, not
(Only the first 15 lines of the commit message are shown above View all of this commit message)
03 Sep 2015 15:22:08
Original commit files touched by this commit  1.2.0
Revision:395967
vanilla search for other commits by this committer
1: Upgrade to 1.2.0.
2: add libedit to USES.
27 Jun 2015 18:26:41
Original commit files touched by this commit  1.1.0
Revision:390720
riggs search for other commits by this committer
- Update to upstream release 1.1.0
- Fix bug 200449 in the process

PR:		201142, 200449
Submitted by:	andoriyu@gmail.com
24 Jun 2015 17:09:27
Original commit files touched by this commit  1.0.0_1
Revision:390497
dumbbell search for other commits by this committer
lang/rust: Use LLVM 3.6 from Ports instead of the bundled one

Dependencies are updated: Perl is not a dependency at all and Python is
a build dependency only.

Rust may fail to build if a previous version is already installed
because the bootstrapped rustc puts "-L/usr/local/lib" at the beginning
of the linker flags. Therefore, mark rust as a CONFLICTS_BUILD with
itself.

Fix the build as a normal user by setting permissions on all directories
to 0755 [1].

Be closer to the standalone installer's file hierarchy by installing
files such as "components", "manifest-rustc" and "uninstall.sh".

Add "files/patch-src_librustc__back_target_freebsd__base.rs"
to remove "-L/usr/local/lib", "-L/usr/local/lib/gcc46" and
"-L/usr/local/lib/gcc44" from the builtin linker flags.

Differential Revision:	https://reviews.freebsd.org/D2466
Submitted by:	Chris Hutchinson [1]
Reviewed by:	jonathan, kwm
Approved by:	jonathan
18 May 2015 22:32:18
Original commit files touched by this commit  1.0.0
Revision:386722
riggs search for other commits by this committer
- Update to first stable upstream release 1.0.0
- Reflect stable release in pkg-descr
- Pet portlint

PR:		200284
Submitted by:	maciej@pasternacki.net
Reviewed by:	riggs
26 Mar 2015 14:29:57
Original commit files touched by this commit  0.12.0_1
Revision:382320
marino search for other commits by this committer
lang/rust: Add special IGNORE for DragonFly

lang/rust-dragonfly is in dports and it is bleeding edge (updated every
couple of weeks)
29 Oct 2014 16:08:27
Original commit files touched by this commit  0.12.0_1
Revision:371692
robak search for other commits by this committer
lang/rust: add PORTREVISION mistakenly ommitted from yesterday's fix

Approved by:	mentors (implicit)
28 Oct 2014 14:21:29
Original commit files touched by this commit  0.12.0
Revision:371637
robak search for other commits by this committer
lang/rust: fixes

- Remove extra STRIP_CMD from the Makefile
- Fix SRIP_CMD that was stripping statically linked libraries

Approved by:	mentors (implicit)
26 Oct 2014 17:39:55
Original commit files touched by this commit  0.12.0
Revision:371509
robak search for other commits by this committer
lang/rust: update 0.11.0 -> 0.12.0

- Delete obsolete patch
- Convert to @dir usage

Approved by:	mentors (implicit)
20 Oct 2014 17:52:17
Original commit files touched by this commit  0.11.0_1
Revision:371288
mva search for other commits by this committer
- Convert ports of irc/ and lang/ to new USES=python

Approved by:	portmgr (implicit)
28 Jul 2014 22:58:33
Original commit files touched by this commit  0.11.0_1
Revision:363270
marino search for other commits by this committer
lang/rust: Fix link issue and build failure

[1] Linking fails with missing reference to __morestack symbol
[2] gpy fails with error about missing sem implementation

PR:		189357 [1]
PR:		191927 [2]
Submitted by:	bertrand.augereau (gmail) [1]
Submitted by:	maintainer: mitsuruike (gmail) [2]
23 Jul 2014 07:41:08
Original commit files touched by this commit  0.11.0
Revision:362630
danfe search for other commits by this committer
- Give the reason why the port is currently amd64-only
- Remove no-op patch file (builds just fine with -Werror as it seems)
- In BATCH or PACKAGE_BUILDING modes, produce verbose build logs
- Rework post-extract target: do not extract bootstrap compiler ourselves,
  put it into expected download directory instead; this also allows us to
  optimize away RUST_TARGET knob and post-patch hack
- Since the port is for FreeBSD 10+, no need to explicitly depend on
  libexecinfo.so
- Use OPTIONS helpers, perform some other minor Makefile cleanups
- Augment port description text while I am here
11 Jul 2014 07:27:38
Original commit files touched by this commit  0.11.0
Revision:361507
robak search for other commits by this committer
lang/rust: update 0.10 -> 0.11

Approved by:	marino (mentor)
10 Jun 2014 06:31:43
Original commit files touched by this commit  0.10
Revision:357273
linimon search for other commits by this committer
Reset maintainership.

PR:		190858
PR:		190859
PR:		190860
PR:		190861
PR:		190862
PR:		190863
PR:		190864
Submitted by:	former maintainer
Approved by:	portmgr (blanket)
20 May 2014 19:32:39
Original commit files touched by this commit  0.10
Revision:354670
tijl search for other commits by this committer
Quote ${CC} and similar variables in MAKE_ARGS.

Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
05 May 2014 15:31:20
Original commit files touched by this commit  0.10
Revision:353027
marino search for other commits by this committer
lang/rust: Couple OPSYS with OSVERSION (Unbreaks DragonFly)
27 Apr 2014 08:02:10
Original commit files touched by this commit  0.10
Revision:352402
swills search for other commits by this committer
- Update to 0.10
- Remove deprecated rustpkg functionality
- Stage improvements
- Add 10.x and 11.x compability
- Pet portlint

PR:		ports/188800
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
Approved by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
15 Mar 2014 07:03:58
Original commit files touched by this commit  0.9
Revision:348291
eadler search for other commits by this committer
lang/rust: update to 0.9
- stagiy
- mark as broken on 10+
- update to 0.9
- add new options
- add LICENSE

PR:		ports/185868
PR:		ports/185865
Submitted by:	Oleksii Tsai <oleksii.tsai@googlemail.com>
Approved by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
13 Jan 2014 21:00:04
Original commit files touched by this commit  0.8
Revision:339634
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
06 Oct 2013 03:32:29
Original commit files touched by this commit  0.8
Revision:329526
vanilla search for other commits by this committer
Upgrade to 0.8.

PR:		ports/182502
Submitted by:	maintainer
20 Sep 2013 19:53:10
Original commit files touched by this commit  0.7
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
17 Sep 2013 06:40:21
Refresh Original commit files touched by this commit
Revision:327452  Sanity Test Failure
bapt search for other commits by this committer
Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
08 Sep 2013 15:10:43
Original commit files touched by this commit  0.7
Revision:326743
bdrewery search for other commits by this committer
Mark MAKE_JOBS_UNSAFE
09 Jul 2013 12:51:32
Original commit files touched by this commit  0.7
Revision:322557
vanilla search for other commits by this committer
Upgrade to 0.7.

PR:		ports/180405
Submitted by:	maintainer
24 Apr 2013 13:46:41
Original commit files touched by this commit  0.6
Revision:316436
lwhsu search for other commits by this committer
- Update to 0.6

PR:		ports/177665
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
07 Jan 2013 06:35:05
Original commit files touched by this commit  0.5
Revision:310023
lwhsu search for other commits by this committer
- Update to 0.5

PR:		ports/174670
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
18 Oct 2012 07:03:50
Original commit files touched by this commit  0.4
Revision:306053
vanilla search for other commits by this committer
Upgrade to 0.4.

PR:		ports/172791
Submitted by:	maintainer
Feature safe:   yes
19 Jul 2012 22:06:33
Original commit files touched by this commit  0.3
ak search for other commits by this committer
- Update to 0.3 (see
https://github.com/mozilla/rust/blob/release-0.3/RELEASES.txt)

PR:	ports/169906
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
28 Jun 2012 02:09:38
Original commit files touched by this commit  0.2
lwhsu search for other commits by this committer
- Use empty() to check if an option is not set

PR:             ports/169051
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
13 Jun 2012 17:01:04
Original commit files touched by this commit  0.2
lwhsu search for other commits by this committer
- Use the new options framework

PR:             ports/168703
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
24 May 2012 16:44:44
Original commit files touched by this commit  0.2
sperber search for other commits by this committer
- Add newline at the end of distinfo

Submitted by:   Alex Kozlov <spam _at_ rm-rf.kiev.ua> (maintainer)
Approved by:    beat (mentor)
22 May 2012 17:49:35
Original commit files touched by this commit  0.2
sperber search for other commits by this committer
This patch fixes the problem that it attempts to fetch a file during building.
It adds snapshot to distfiles and removes code for downloading.

PR:            ports/168223
Submitted by:  Jyun-Yan You <jyyou _at_ cs.nctu.edu.tw> (maintainer)
Reported by:   pointyhat-west
Approved by:   decke (mentor)
07 Apr 2012 16:22:24
Original commit files touched by this commit  0.2
scheidell search for other commits by this committer
- Update to 0.2
- The bootstrap compiler needs "cc" to link objects.

PR:             ports/166551
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Feature safe:   yes
15 Mar 2012 15:28:13
Original commit files touched by this commit  0.1_1
gerald search for other commits by this committer
Replace USE_GCC=4.4+ by USE_GCC=4.6+, a noop on the build cluster.

Approved by:    maintainer (jyyou@cs.nctu.edu.tw)
Feature safe:   yes
02 Feb 2012 18:17:31
Original commit files touched by this commit  0.1_1
jgh search for other commits by this committer
- fix linker errors for systems that have installed llvm
- let clang build llvm
- fix build on ${OSVERSION} < 800107

PR: ports/164467
Submitted by: maintainer, jyyou at cs.nctu.edu.tw
Approved by:    crees (mentor)
23 Jan 2012 16:07:04
Original commit files touched by this commit  0.1
lwhsu search for other commits by this committer
Add rust 0.1, a language with a focus on memory safety and concurrency.

PR:             ports/164366
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw>

Number of commits found: 52

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
mediawiki123May 24
mediawiki124May 24
mediawiki125May 24
mediawiki126May 24
expat2May 20
wpa_supplicantMay 20
bugzilla44May 17
bugzilla50May 17
openvpnMay 14
openvpn-polarsslMay 14
ImageMagickMay 13
ImageMagick-nox11May 13
ImageMagick7May 13
ImageMagick7-nox11May 13
jenkinsMay 12

7 vulnerabilities affecting 19 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26066
Broken 287
Deprecated 60
Ignore 553
Forbidden 0
Restricted 202
No CDROM 85
Vulnerable 53
Expired 18
Set to expire 48
Interactive 0
new 24 hours 4
new 48 hours8
new 7 days26
new fortnight70
new month113

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.