Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 09 May 2015, 15:52 GMT
Reason for closing:  Fixed
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.

Loading...