Port details |
- rust Language with a focus on memory safety and concurrency
- 1.83.0 lang =34 1.83.0Version of this port present on the latest quarterly branch.
- Maintainer: rust@FreeBSD.org
- Port Added: 2012-01-23 16:07:20
- Last Update: 2024-12-01 18:43:31
- Commit Hash: 237a71f
- People watching this port, also watch:: pkg, curl, libxml2, rsync, sqlite3
- License: APACHE20 MIT
- WWW:
- https://www.rust-lang.org/
- Description:
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/lang/rust/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/rust
- pkg install rust
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rust
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv7 i386 powerpc64 powerpc64le powerpc riscv64
- distinfo:
- TIMESTAMP = 1732649272
SHA256 (rust/rustc-1.83.0-src.tar.xz) = 7b11d4242dab0921a7d54758ad3fe805153c979c144625fecde11735760f97df
SIZE (rust/rustc-1.83.0-src.tar.xz) = 353808388
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- lang/rust-nightly
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- Library dependencies:
-
- libcurl.so : ftp/curl
- This port is required by:
- for Build
-
- accessibility/sctd
- accessibility/wl-gammarelay-rs
- archivers/ouch
- archivers/py-cramjam
- audio/amberol
- audio/ebur128
- audio/gnome-metronome
-
Deleted ports which required this port:
- for Fetch
-
Deleted ports which required this port:
- for Run
-
- devel/corrosion
- devel/py-setuptools-rust
- devel/rust-cbindgen
-
Deleted ports which required this port:
- * - 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.83.0:
DOCS=on: Build and/or install documentation
GDB=off: Install ports gdb (necessary for debugging rust programs)
LTO=off: Use Link-Time Optimization
PORT_LLVM=off: Build against devel/llvm instead of bundled copy (experimental)
SOURCES=on: Install source files
WASM=on: Build the WebAssembly target (wasm32-unknown-unknown)
===> Use 'make config' to modify these settings
- Options name:
- lang_rust
- USES:
- cmake:indirect cpe ninja:build pkgconfig python:build ssl tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.8.0 17 Apr 2016 10:21:20 |
riggs |
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 |
1.7.0 07 Apr 2016 07:17:45 |
jbeich |
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 |
1.7.0 02 Apr 2016 14:49:00 |
jbeich |
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 |
1.7.0 01 Apr 2016 14:08:38 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat: portmgr
Sponsored by: Absolight |
1.7.0 01 Apr 2016 01:16:08 |
jbeich |
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` |
1.7.0 31 Mar 2016 20:04:49 |
jbeich |
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 |
1.7.0 27 Mar 2016 17:10:15 |
riggs |
Fix staging error on systems where security/sudo is present
PR: 207930
Reported by: pete@hayes.id.au, kib (via mail) |
1.7.0 25 Mar 2016 06:38:23 |
riggs |
Re-enable build with ports LLVM by non-default OPTION
PR: 208250
Submitted by: jbeich |
1.7.0 05 Mar 2016 12:41:03 |
riggs |
Update to upstream version 1.7.0 |
1.6.0 22 Jan 2016 06:13:25 |
riggs |
Update to upstream version 1.6.0 |
1.5.0 13 Dec 2015 14:21:05 |
riggs |
Update to upstream version 1.5.0; add OPTION to depend on gdb from ports |
1.4.0_1 07 Nov 2015 22:17:36 |
riggs |
- 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 |
1.4.0 30 Oct 2015 11:39:31 |
riggs |
Update to upstream version 1.4.0 |
1.3.0 19 Sep 2015 18:22:07 |
riggs |
Enable rust on i386 |
1.3.0 19 Sep 2015 12:18:13 |
riggs |
Update to upstream version 1.3.0 |
1.2.0 12 Sep 2015 14:49:45 |
dumbbell |
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 ) |
1.2.0 03 Sep 2015 15:22:08 |
vanilla |
1: Upgrade to 1.2.0.
2: add libedit to USES. |
1.1.0 27 Jun 2015 18:26:41 |
riggs |
- Update to upstream release 1.1.0
- Fix bug 200449 in the process
PR: 201142, 200449
Submitted by: andoriyu@gmail.com |
1.0.0_1 24 Jun 2015 17:09:27 |
dumbbell |
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 |
1.0.0 18 May 2015 22:32:18 |
riggs |
- 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 |
0.12.0_1 26 Mar 2015 14:29:57 |
marino |
lang/rust: Add special IGNORE for DragonFly
lang/rust-dragonfly is in dports and it is bleeding edge (updated every
couple of weeks) |
0.12.0_1 29 Oct 2014 16:08:27 |
robak |
lang/rust: add PORTREVISION mistakenly ommitted from yesterday's fix
Approved by: mentors (implicit) |
0.12.0 28 Oct 2014 14:21:29 |
robak |
lang/rust: fixes
- Remove extra STRIP_CMD from the Makefile
- Fix SRIP_CMD that was stripping statically linked libraries
Approved by: mentors (implicit) |
0.12.0 26 Oct 2014 17:39:55 |
robak |
lang/rust: update 0.11.0 -> 0.12.0
- Delete obsolete patch
- Convert to @dir usage
Approved by: mentors (implicit) |
0.11.0_1 20 Oct 2014 17:52:17 |
mva |
- Convert ports of irc/ and lang/ to new USES=python
Approved by: portmgr (implicit) |
0.11.0_1 28 Jul 2014 22:58:33 |
marino |
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] |
0.11.0 23 Jul 2014 07:41:08 |
danfe |
- 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 |
0.11.0 11 Jul 2014 07:27:38 |
robak |
lang/rust: update 0.10 -> 0.11
Approved by: marino (mentor) |
0.10 10 Jun 2014 06:31:43 |
linimon |
Reset maintainership.
PR: 190858
PR: 190859
PR: 190860
PR: 190861
PR: 190862
PR: 190863
PR: 190864
Submitted by: former maintainer
Approved by: portmgr (blanket) |
0.10 20 May 2014 19:32:39 |
tijl |
Quote ${CC} and similar variables in MAKE_ARGS.
Reported by: Dominic Fandrey <kamikaze@bsdforen.de> |
0.10 05 May 2014 15:31:20 |
marino |
lang/rust: Couple OPSYS with OSVERSION (Unbreaks DragonFly) |
0.10 27 Apr 2014 08:02:10 |
swills |
- 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) |
0.9 15 Mar 2014 07:03:58 |
eadler |
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) |
0.8 13 Jan 2014 21:00:04 |
rene |
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) |
0.8 06 Oct 2013 03:32:29 |
vanilla |
Upgrade to 0.8.
PR: ports/182502
Submitted by: maintainer |
0.7 20 Sep 2013 19:53:10 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang) |
17 Sep 2013 06:40:21
|
bapt |
Convert to new perl framework
Convert from USE_GMAKE to USES=gmake |
0.7 08 Sep 2013 15:10:43 |
bdrewery |
Mark MAKE_JOBS_UNSAFE |
0.7 09 Jul 2013 12:51:32 |
vanilla |
Upgrade to 0.7.
PR: ports/180405
Submitted by: maintainer |
0.6 24 Apr 2013 13:46:41 |
lwhsu |
- Update to 0.6
PR: ports/177665
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer) |
0.5 07 Jan 2013 06:35:05 |
lwhsu |
- Update to 0.5
PR: ports/174670
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer) |
0.4 18 Oct 2012 07:03:50 |
vanilla |
Upgrade to 0.4.
PR: ports/172791
Submitted by: maintainer
Feature safe: yes |
0.3 19 Jul 2012 22:06:33 |
ak |
- 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) |
0.2 28 Jun 2012 02:09:38 |
lwhsu |
- Use empty() to check if an option is not set
PR: ports/169051
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer) |
0.2 13 Jun 2012 17:01:04 |
lwhsu |
- Use the new options framework
PR: ports/168703
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer) |
0.2 24 May 2012 16:44:44 |
sperber |
- Add newline at the end of distinfo
Submitted by: Alex Kozlov <spam _at_ rm-rf.kiev.ua> (maintainer)
Approved by: beat (mentor) |
0.2 22 May 2012 17:49:35 |
sperber |
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) |
0.2 07 Apr 2012 16:22:24 |
scheidell |
- 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 |
0.1_1 15 Mar 2012 15:28:13 |
gerald |
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 |
0.1_1 02 Feb 2012 18:17:31 |
jgh |
- 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) |
0.1 23 Jan 2012 16:07:04 |
lwhsu |
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> |