FS#44780 - [rust] not configured as beta
Attached to Project:
Community Packages
Opened by Dennis (derhamster) - Wednesday, 29 April 2015, 17:33 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 09 May 2015, 15:52 GMT
Opened by Dennis (derhamster) - Wednesday, 29 April 2015, 17:33 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 09 May 2015, 15:52 GMT
|
Details
Description:
The current rust package is not configured properly as beta. This means, that unstable language features (eg. #[feature(libc)]) are allowed and do not produce a compile time error. This is different to the upstream beta.3 binaries, which will *not* compile unstable features. Also: "rustc --version" reports "rustc 1.0.0-dev". However, it should be "rustc 1.0.0-beta.3". This bug is easily fixed by passing "--release-channel=beta" to configure in the PKGBUILD. On an unrelated side note, I believe that "--disable-debug" is unnecessary, as it is the default. Additional info: * package version: rust-1.0.0.beta.3-1 Steps to reproduce: Compile something that uses unstable features, such as: --- #[feature(libc)] fn main() { } --- Rust beta.3 should error out. |
This task depends upon
Comment by
Alexander F. Rødseth (xyproto) -
Thursday, 30 April 2015, 08:05 GMT
Thank you for reporting! I'll update the package. (I recently
adopted the rust package, but will do my best to make it shine).
Comment by Dennis (derhamster) -
Saturday, 09 May 2015, 10:38 GMT
rust 1.0.0_beta.4-1 is now properly configured as a beta release,
so this bug can be closed. Thanks for fixing it!
Comment by
Alexander F. Rødseth (xyproto) -
Saturday, 09 May 2015, 15:52 GMT
Great! Closing.