26 Commits

Author SHA1 Message Date
sthen
cac30155c9 don't add rustc-bootstrap-${MACHINE_ARCH} to DISTFILES unless it's amd64
(currently the only arch in ONLY_FOR_ARCHS), otherwise fetch failures are
reported when dpb on any other arch tries to fetch a nonexistent
rustc-bootstrap-<somearch>. ok semarie@ kili@
2016-06-12 13:07:42 +00:00
semarie
9ec79eb0b3 lang/rust: change bootstrap method
OK juanfra@
2016-06-09 04:20:10 +00:00
semarie
094c2dd09a lang/rust update to 1.9.0
- changes in Makefile to make it compute itself the RUST_HASH value

- use new configure option --disable-codegen-tests as with don't have FileCheck
  (from llvm) binary. remove the patches in configure and src/compiletest/runtest.rs

- disable (for now) two news tests added with unix socket support, that doesn't
  pass. I will investigate them later.

- disable run-pass/backtrace test. The support of libbacktrace has been remove
  recently.
2016-05-29 07:26:46 +00:00
semarie
f29eca3929 lang/rust: fallback to LOCALBASE for sysroot
- std::env::current_exe() returns an error instead of returning wrong
  pathname (no complete, but rust build scripts makes (bad)
  assumptions that I couldn't patch for now).

- rustc / rustdoc to use CFG_PREFIX (configure --prefix value) when
  std::env::current_exe() return an error

- remove the installed wrapper used to pass --sysroot argument to
  rustc (the wrapper was used for workaround the problem differently
  for rustc, but didn't resolv the problem for rustdoc as it doesn't
  have --sysroot argument).

looks ok edd@
2016-05-25 06:39:35 +00:00
semarie
91aed3f450 lang/rust: new bootstrap for TIB (updated archive as the previous was busted) 2016-05-09 14:08:41 +00:00
semarie
1edf4f94bd lang/rust: new bootstrap for TIB 2016-05-09 08:04:44 +00:00
semarie
9414cd5321 add plist update too in lang/rust
(and bump revision)

bad semarie@, no cookie.
2016-04-14 03:42:12 +00:00
semarie
6e19421df3 update lang/rust to 1.8.0
ok juanfra@
2016-04-13 17:33:51 +00:00
semarie
b939951454 lang/rust: use devel/llvm for building
switch from embedded version of LLVM to system version.

OK juanfra@
2016-03-11 05:30:45 +00:00
semarie
fc59f1c69d update lang/rust to 1.7.0
"looks reasonable" bmercer@
2016-03-05 15:05:33 +00:00
semarie
7e556aba66 lang/rust: remove python run-depends
it is only needed at compile-time.

ok ajacoutot@
2016-01-25 05:36:05 +00:00
semarie
6cc1d59ac2 update lang/rust to 1.6.0
ok juanfra@
2016-01-22 09:03:14 +00:00
semarie
a7ac139c37 install libraries with rustc
- remove now unneeded MAKE_ENV option to pass --sysroot argument to bootstrapper
- backport the latest changes for building rustc under openbsd
- switch the install from installing a stage3 rustc binary to installing a stage2 rustc binary (and all required libraries)

ok juanfra@
2016-01-13 07:39:07 +00:00
semarie
a8a8bd2850 update lang/rust to 1.5.0
ok landry@
2015-12-10 17:53:57 +00:00
semarie
26167df76a update lang/rust to 1.4.0
tested by mmc@ and bmercer@
2015-11-02 12:44:24 +00:00
semarie
fcc46726b9 update lang/rust to 1.3.0
ok landry@
2015-09-22 08:11:24 +00:00
semarie
e0f924287f update rust to 1.2.0
ok jca@
2015-08-28 06:51:07 +00:00
semarie
8d6e2a8e26 Update to rust-1.1.0
OK landry@
2015-06-27 15:37:32 +00:00
ajacoutot
302d84c7e8 Bump LIBESTDC_VERSION after default gcc4 switched to 4.9.
That thing should be reworked somehow...
2015-05-28 10:29:44 +00:00
pascal
f0585aa4cf gcc4 bumps, reminded by aja@ 2015-05-28 10:17:22 +00:00
espie
912e2fccdd fix bulk build, make sure we don't grab execinfo.h by mistake 2015-05-24 19:36:59 +00:00
bmercer
ba8852efda Update to rust-1.0.0, from Sébastien Marie. Tested by myself, sthen, and afresh, OK sthen@ 2015-05-19 23:42:38 +00:00
landry
073b1a542b Update to rust-1.0.0beta2, from maintainer Sébastien Marie
Ensure we link against the correct libestdc++ version.
Remove a patch merged upstream.
2015-04-18 12:19:09 +00:00
naddy
aa43014a67 don't require unused curl or wget; from maintainer Sebastien Marie 2015-04-10 18:13:06 +00:00
sthen
a1e8134b34 s/ONLY_FOR_ARCHS-main/ONLY_FOR_ARCHS/, -docs doesn't build on !amd64 either 2015-04-08 13:02:57 +00:00
landry
65b08f4a62 Import rust 1.0.0beta, all the hard work from Sébastien Marie (thanks!)
Rust is a systems programming language that runs blazingly fast, prevents
almost all crashes, and eliminates data races.

Featuring:
- zero-cost abstractions
- move semantics
- guaranteed memory safety
- threads without data races
- trait-based generics
- pattern matching
- type inference
- minimal runtime
- efficient C bindings

some packaging tweaks by me, ok/testing bcallah@ jca@
2015-04-06 16:01:05 +00:00