Commit Graph

103 Commits

Author SHA256 Message Date
Luke Jones
ea08d07467 Accepting request 520543 from home:luke_nukem:branches:devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/520543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=113
2017-09-03 20:37:39 +00:00
Luke Jones
84a53ea00a Accepting request 520410 from home:luke_nukem:branches:devel:languages:rust
- adjust build process and add package for Rust source
- Update to version 1.19
- Language updates:
  + [Numeric fields can now be used for creating tuple structs.][41145] [RFC 1506]
    For example `struct Point(u32, u32); let x = Point { 0: 7, 1: 0 };`.
  + [Macro recursion limit increased to 1024 from 64.][41676]
  + [Added lint for detecting unused macros.][41907]
  + [`loop` can now return a value with `break`.][42016] [RFC 1624]
    For example: `let x = loop { break 7; };`
  + [C compatible `union`s are now available.][42068] [RFC 1444] They can only
    contain `Copy` types and cannot have a `Drop` implementation.
    Example: `union Foo { bar: u8, baz: usize }`
  + [Non capturing closures can now be coerced into `fn`s,][42162] [RFC 1558]
    Example: `let foo: fn(u8) -> u8 = |v: u8| { v };`
- Compiler updates:
  + [Add support for bootstrapping the Rust compiler toolchain on Android.][41370]
  + [Change `arm-linux-androideabi` to correspond to the `armeabi`
    official ABI.][41656] If you wish to continue targeting the `armeabi-v7a` ABI
    you should use `--target armv7-linux-androideabi`.
  + [Fixed ICE when removing a source file between compilation sessions.][41873]
  + [Minor optimisation of string operations.][42037]
  + [Compiler error message is now `aborting due to previous error(s)` instead of
    `aborting due to N previous errors`][42150] This was previously inaccurate and
    would only count certain kinds of errors.
  + [The compiler now supports Visual Studio 2017][42225]
  + [The compiler is now built against LLVM 4.0.1 by default][42948]
  + [Added a lot][42264] of [new error codes][42302]
  + [Added `target-feature=+crt-static` option][37406] [RFC 1721] Which allows
    libraries with C Run-time Libraries(CRT) to be statically linked.
  + [Fixed various ARM codegen bugs][42740]
- Librarie updates:
  + [`String` now implements `FromIterator<Cow<'a, str>>` and
    `Extend<Cow<'a, str>>`][41449]
  + [`Vec` now implements `From<&mut [T]>`][41530]
  + [`Box<[u8]>` now implements `From<Box<str>>`][41258]
  + [`SplitWhitespace` now implements `Clone`][41659]
  + [`[u8]::reverse` is now 5x faster and `[u16]::reverse` is now
    1.5x faster][41764]
  + [`eprint!` and `eprintln!` macros added to prelude.][41192] Same as the `print!`
    macros, but for printing to stderr.
- Stabilized APIs
  + [`OsString::shrink_to_fit`]
  + [`cmp::Reverse`]
  + [`Command::envs`]
  + [`thread::ThreadId`]
  
- Misc
  + [Added `rust-windbg.cmd`][39983] for loading rust `.natvis` files in the
    Windows Debugger.
  + [Rust will now release XZ compressed packages][rust-installer/57]
  + [rustup will now prefer to download rust packages with
    XZ compression][rustup/1100] over GZip packages.
  + [Added the ability to escape `#` in rust documentation][41785] By adding
    additional `#`'s ie. `##` is now `#`
- Temporarily disable generation of compiler docs due to build issue

OBS-URL: https://build.opensuse.org/request/show/520410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=112
2017-09-03 19:08:10 +00:00
Luke Jones
876b9d2c70 Accepting request 503550 from home:luke_nukem:branches:devel:languages:rust
Change i586 build to produce i686 instead.
May cause issues on i586 hardware if it is still in use (not likely).

OBS-URL: https://build.opensuse.org/request/show/503550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=110
2017-06-14 06:25:34 +00:00
Luke Jones
ef4d6663ef Accepting request 502505 from home:luke_nukem:branches:devel:languages:rust
Update to v1.18.0

OBS-URL: https://build.opensuse.org/request/show/502505
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=109
2017-06-09 08:26:16 +00:00
Luke Jones
2c0d88b8e4 Accepting request 494000 from home:luke_nukem:branches:devel:languages:rust
Fix dependencies

OBS-URL: https://build.opensuse.org/request/show/494000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=107
2017-05-10 07:11:46 +00:00
Luke Jones
097b4d287e Accepting request 492208 from home:luke_nukem:branches:devel:languages:rust
Fix silly error (misplaced 'z')

OBS-URL: https://build.opensuse.org/request/show/492208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=106
2017-04-30 06:59:06 +00:00
Luke Jones
d9ef151cf5 Accepting request 492185 from home:luke_nukem:branches:devel:languages:rust
Attempt to fix build loop rust<->cargo by including cargo binaries for each arch

OBS-URL: https://build.opensuse.org/request/show/492185
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=105
2017-04-30 06:28:06 +00:00
Luke Jones
8e933b8761 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=104 2017-04-28 21:36:38 +00:00
Luke Jones
445e4444f7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=103 2017-04-28 11:14:03 +00:00
Luke Jones
8abbd328cc OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=102 2017-04-28 03:42:51 +00:00
Luke Jones
d41ed167f2 Accepting request 491720 from home:luke_nukem:branches:devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/491720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=101
2017-04-28 03:15:42 +00:00
Luke Jones
302db12c5c OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=100 2017-03-28 09:12:48 +00:00
Luke Jones
6167565987 Rework of the spec for building.
- Restricts version required for compilation
- Uses rust-build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=99
2017-03-28 02:38:57 +00:00
Luke Jones
6c6b9c9ffa OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=98 2017-03-25 19:24:18 +00:00
Luke Jones
78cb4d9c91 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=97 2017-03-24 02:54:22 +00:00
Luke Jones
39b50ef005 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=96 2017-03-24 01:57:20 +00:00
Luke Jones
709f026957 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=95 2017-03-23 21:51:29 +00:00
Luke Jones
8d3ab4be55 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=94 2017-03-23 21:50:49 +00:00
Luke Jones
bcd4a406a1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=93 2017-03-23 19:57:20 +00:00
Luke Jones
56a186d5a8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=92 2017-03-23 19:53:08 +00:00
Luke Jones
bf55a8ce19 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=91 2017-03-23 09:31:00 +00:00
Luke Jones
1969f62690 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=90 2017-03-23 09:26:48 +00:00
Luke Jones
3c95aaa3ed OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=89 2017-03-23 09:24:40 +00:00
Luke Jones
1016505245 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=88 2017-03-23 09:24:19 +00:00
Luke Jones
34e858afb3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=87 2017-03-23 09:04:30 +00:00
Luke Jones
c3624e9af9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=86 2017-03-23 09:01:23 +00:00
Luke Jones
00a579d8ce OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=85 2017-03-23 08:36:45 +00:00
Luke Jones
7c2e5178f9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=84 2017-03-22 05:40:48 +00:00
Luke Jones
c95311bf32 Accepting request 481904 from home:luke_nukem:branches:devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/481904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=83
2017-03-22 05:18:22 +00:00
Luke Jones
2c12758fc1 Accepting request 481900 from home:luke_nukem:branches:devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/481900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=82
2017-03-22 03:21:12 +00:00
Luke Jones
b38e308e7b - Update to 1.16.0
- Language updates
    * Lifetimes in statics and consts default to `'static`. [RFC 1623]
    * [The compiler's `dead_code` lint now accounts for type aliases][38051].
    * [Uninhabitable enums (those without any variants) no longer permit wildcard
      match patterns][38069]
    * [Clean up semantics of `self` in an import list][38313]
    * [`Self` may appear in `impl` headers][38920]
    * [`Self` may appear in struct expressions][39282]
- Compiler updates
    * [`rustc` now supports `--emit=metadata`, which causes rustc to emit
      a `.rmeta` file containing only crate metadata][38571]. This can be
      used by tools like the Rust Language Service to perform
      metadata-only builds.
    * [Levenshtein based typo suggestions now work in most places, while
      previously they worked only for fields and sometimes for local
      variables][38927]. Together with the overhaul of "no
      resolution"/"unexpected resolution" errors (#[38154]) they result in
      large and systematic improvement in resolution diagnostics.
    * [Fix `transmute::<T, U>` where `T` requires a bigger alignment than
      `U`][38670]
    * [rustc: use -Xlinker when specifying an rpath with ',' in it][38798]
    * [`rustc` no longer attempts to provide "consider using an explicit
      lifetime" suggestions][37057]. They were inaccurate.
      
- Stabilized APIs
    * [`VecDeque::truncate`]
    * [`VecDeque::resize`]
    * [`String::insert_str`]
    * [`Duration::checked_add`]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=80
2017-03-17 06:03:21 +00:00
Luke Jones
9a075e3f38 Accepting request 479057 from home:dimstar:Factory
- Remove duplicate license files from _docdir: rpm 4.13 no longer
  implicitly packages those files and we catch them using %license,

OBS-URL: https://build.opensuse.org/request/show/479057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=78
2017-03-14 19:23:20 +00:00
Luke Jones
34a5c8cd5c Accepting request 459969 from openSUSE:Factory:zSystems
- remove bootstrap for s390x as binaries are available in 
  openSUSE:Factory:zSystems

OBS-URL: https://build.opensuse.org/request/show/459969
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=76
2017-02-23 08:17:04 +00:00
Luke Jones
ee0923663d OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=74 2017-02-15 05:59:34 +00:00
Luke Jones
809d338045 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=73 2017-02-15 02:15:50 +00:00
Luke Jones
f9127d44bc OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=72 2017-02-15 00:12:35 +00:00
Luke Jones
8eb4debe4a OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=71 2017-02-14 20:37:43 +00:00
Luke Jones
d60fb8bad2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=70 2017-02-14 20:37:10 +00:00
Luke Jones
1ffad44a95 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=69 2017-02-14 09:37:20 +00:00
Luke Jones
1a43cf6465 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=68 2017-02-14 09:35:33 +00:00
Luke Jones
f3ef5d0f6e OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=67 2017-02-14 09:31:28 +00:00
Luke Jones
9ed84e474b Update spec to bootstrap only for releases less than
TW or Leap 42.2. These releases as yet have no successful
builds for which to build n+1 versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=66
2017-02-14 02:26:36 +00:00
Luke Jones
6ddb694dd8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=65 2017-02-14 02:05:44 +00:00
Luke Jones
f9b6a7ce5b Set conditional builds up correctly.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=63
2017-02-13 20:36:59 +00:00
Luke Jones
5c434839a1 Clean up previous modifications.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=62
2017-02-13 04:23:24 +00:00
Luke Jones
d95e60eefa Fix incorrect conditional tag
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=61
2017-02-13 04:13:22 +00:00
Luke Jones
a0dd104efa Add conditional for building for Leap 42.2 with bootstrap.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=60
2017-02-13 04:09:18 +00:00
Luke Jones
3e55321f25 Add conditionals for ARM, aarch64, ppc64, ppc64le to build using
bootstrap until n+1 version is released upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=59
2017-02-13 04:04:45 +00:00
Luke Jones
bbd20fa1a8 Restrict build to to use rustc n-1 version.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=58
2017-02-13 03:45:30 +00:00
Luke Jones
7a34637a1f OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=56 2017-02-11 18:49:10 +00:00