Commit Graph

8 Commits

Author SHA256 Message Date
Luke Jones
8d19b38e46 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=135 2017-10-25 20:56:19 +00:00
Luke Jones
17e07a5fc5 Accepting request 535320 from home:luke_nukem:branches:devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/535320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=133
2017-10-19 21:13:56 +00:00
Luke Jones
45595d2fc4 Accepting request 535104 from home:luke_nukem:branches:devel:languages:rust
- Large cleanup of both the spec and config.toml to correct many
  build issues for the new version
- Add rust-1.21.0-44203-exclude-compiler-rt-test.patch
- Add rust-1.21.0-44066-ppc64-struct-abi.patch
- Add rust-1.21.0-44440-s390x-global-align.patch
- Remove add-soname.patch

OBS-URL: https://build.opensuse.org/request/show/535104
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=132
2017-10-19 05:50:12 +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
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
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
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
f189933e4d - Update to 1.15.0
- Language updates
	* Basic procedural macros allowing custom `#[derive]`, aka "macros 1.1", are
	stable. This allows popular code-generating crates like Serde and Diesel to
	work ergonomically. [RFC 1681].
	* [Tuple structs may be empty. Unary and empty tuple structs may be instantiated
	with curly braces][36868]. Part of [RFC 1506].
	* [A number of minor changes to name resolution have been activated][37127].
	They add up to more consistent semantics, allowing for future evolution of
	Rust macros. Specified in [RFC 1560], see its section on ["changes"] for
	details of what is different. The breaking changes here have been transitioned
	through the [`legacy_imports`] lint since 1.14, with no known regressions.
	* [In `macro_rules`, `path` fragments can now be parsed as type parameter
	bounds][38279]
	* [`?Sized` can be used in `where` clauses][37791]
	* [There is now a limit on the size of monomorphized types and it can be
	modified with the `#![type_size_limit]` crate attribute, similarly to
	the `#![recursion_limit]` attribute][37789]
- Compiler changes
	* [On Windows, the compiler will apply dllimport attributes when linking to
	extern functions][37973]. Additional attributes and flags can control which
	library kind is linked and its name. [RFC 1717].
	* [Rust-ABI symbols are no longer exported from cdylibs][38117]
	* [The `--test` flag works with procedural macro crates][38107]
	* [Fix `extern "aapcs" fn` ABI][37814]
	* [The `-C no-stack-check` flag is deprecated][37636]. It does nothing.
	* [The `format!` expander recognizes incorrect `printf` and shell-style
	formatting directives and suggests the correct format][37613].
	* [Only report one error for all unused imports in an import list][37456]
- Compiler performance

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=35
2017-02-06 08:25:50 +00:00