Subject: CVS commit: pkgsrc/lang/rust
From: Jonathan Perkin
Date: 2016-09-06 12:36:49
Message id: 20160906103649.835A8FBD1@cvs.NetBSD.org

Log Message:
Import rust 1.11.0 as lang/rust into pkgsrc.

pkgsrc notes:

  * The build requires binary bootstraps built by the Rust team.  Due
    to the requirement that only the previous version is supported as
    a bootstrap compiler, and new versions of Rust are released every
    6 weeks, it is unlikely to be practical to build TNF bootstraps.
    Users should evaluate whether they trust binaries from upstream.

  * There is currently no SunOS bootstrap provided by the Rust team,
    so for now a version built by myself is provided by Joyent.

  * Only Darwin/Linux/SunOS are currently supported.  The Rust team do
    provide NetBSD bootstraps so support should be easy enough to add.

Information about Rust from the DESCR:

Rust is a systems programming language focused on three goals: safety,
speed, and concurrency.  It maintains these goals without having a
garbage collector, making it a useful language for a number of use cases
other languages aren't good at: embedding in other languages, programs
with specific space and time requirements, and writing low-level code,
like device drivers and operating systems.

It improves on current languages targeting this space by having a number
of compile-time safety checks that produce no runtime overhead, while
eliminating all data races.  Rust also aims to achieve "zero-cost
abstractions" even though some of these abstractions feel like those of
a high-level language.  Even then, Rust still allows precise control
like a low-level language would.

Files:
RevisionActionfile
1.1addpkgsrc/lang/rust/DESCR
1.1addpkgsrc/lang/rust/Makefile
1.1addpkgsrc/lang/rust/PLIST
1.1addpkgsrc/lang/rust/PLIST.gdb
1.1addpkgsrc/lang/rust/PLIST.lldb
1.1addpkgsrc/lang/rust/buildlink3.mk
1.1addpkgsrc/lang/rust/distinfo
1.1addpkgsrc/lang/rust/patches/patch-mk_cfg_x86__64-apple-darwin.mk
1.1addpkgsrc/lang/rust/patches/patch-mk_rt.mk
1.1addpkgsrc/lang/rust/patches/patch-mk_rustllvm.mk
1.1addpkgsrc/lang/rust/patches/patch-src_etc_local__stage0.sh
1.1addpkgsrc/lang/rust/patches/patch-src_liblibc_src_unix_solaris_mod.rs
1.1addpkgsrc/lang/rust/patches/patch-src_librustc__trans_back_linker.rs
1.1addpkgsrc/lang/rust/patches/patch-src_libstd_rtdeps.rs
1.1addpkgsrc/lang/rust/patches/patch-src_libstd_sys_unix_thread.rs
1.1addpkgsrc/lang/rust/patches/patch-src_llvm_Makefile.rules
1.1addpkgsrc/lang/rust/patches/patch-src_llvm_cmake_modules_AddLLVM.cmake
1.1addpkgsrc/lang/rust/patches/patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp
1.1addpkgsrc/lang/rust/patches/patch-src_llvm_utils_buildit_build__llvm
1.1addpkgsrc/lang/rust/patches/patch-src_rust-installer_gen-install-script.sh
1.1addpkgsrc/lang/rust/patches/patch-src_rust-installer_gen-installer.sh
1.1addpkgsrc/lang/rust/patches/patch-src_rust-installer_install-template.sh