Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch defaults from generating unstable Rust to generating stable Rust #757

Closed
fitzgen opened this issue Jun 16, 2017 · 4 comments
Closed

Comments

@fitzgen
Copy link
Member

fitzgen commented Jun 16, 2017

The current default is definitely the wrong choice.

This involves

  • changing the Builder::no_unstable_rust method to the Builder::unstable_rust method

  • changing the --no-unstable-rust flag to a --unstable-rust flag in src/options.rs

  • I don't think this will require updating test results since we run all the tests with --no-unstable-rust, however it may require removing that flag from the test harness. I sugget git greping for "unstable" to see places in the code base that may require updating.

@highfive
Copy link

Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the #servo channel in IRC.

If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄

@jonstites
Copy link

I'll take a stab at this one. @highfive: assign me

@highfive
Copy link

Hey @jonstites! Thanks for your interest in working on this issue. It's now assigned to you!

rigelk added a commit to rigelk/rust-bindgen that referenced this issue Jun 18, 2017
- changing the Builder::no_unstable_rust method to the Builder::unstable_rust method
- changing the --no-unstable-rust flag to a --unstable-rust flag in src/options.rs
- changing bindgen-option header in the test headers to remove the --no-unstable-rust flag

Fixes rust-lang#757
@rigelk
Copy link
Contributor

rigelk commented Jun 18, 2017

@jonstites sorry, didn't see you had taken it :/

rigelk added a commit to rigelk/rust-bindgen that referenced this issue Jun 19, 2017
- changing the Builder::no_unstable_rust method to the Builder::unstable_rust method
- changing the --no-unstable-rust flag to a --unstable-rust flag in src/options.rs
- changing bindgen-flags header in the test headers to remove the --no-unstable-rust flag

Fixes rust-lang#757
rigelk added a commit to rigelk/rust-bindgen that referenced this issue Jun 19, 2017
- changing the Builder::no_unstable_rust method to the Builder::unstable_rust method
- changing the --no-unstable-rust flag to a --unstable-rust flag in src/options.rs
- changing bindgen-flags header in the test headers to remove the --no-unstable-rust flag

Fixes rust-lang#757
bors-servo pushed a commit that referenced this issue Jun 19, 2017
switch defaults from generating unstable Rust to generating stable Rust

As said in the issue:
- changing the Builder::no_unstable_rust method to the Builder::unstable_rust method
- changing the --no-unstable-rust flag to a --unstable-rust flag in src/options.rs
- changing bindgen-flags header in the test headers to remove the --no-unstable-rust flag
- removing --no-unstable-rust flag in ./test/test-one.sh

Fixes #757

r? @fitzgen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants