- 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
- 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