Skip to content

0.6.2 #187

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

Merged
merged 3 commits into from
Jan 13, 2020
Merged

0.6.2 #187

merged 3 commits into from
Jan 13, 2020

Conversation

jonas-schievink
Copy link
Contributor

Closes #185

@rust-highfive
Copy link

r? @therealprof

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m labels Jan 12, 2020
build.rs Outdated
println!("cargo:rustc-cfg=cortex_m");
println!("cargo:rustc-cfg=armv7m");
} else if target.starts_with("thumbv7em-") {
} else if target.starts_with("thumbv7m-") || target.starts_with("thumbv7em-") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather we do not make this change. If the compiler happens to add special support for thumbv7em which is more than just the DSP extension, e.g. saturated instructions and FPU support, then we do not need to update this crate and all dependencies again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a functional change, it just silences a Clippy lint which otherwise fails CI on nightly. Unless I misunderstand what you're saying?

Copy link
Contributor

@therealprof therealprof Jan 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm refererring to the comment new comment below. This code changes the flags passed to rustc based on the architecture we're compiling for and you're saying it does not make sense to pass the armv7em flag because it's not supported at the moment.

If this fixes a clippy lint (not mentioned in the comment) and has no other drawbacks (the opposite of which is implied by the comment, namely that we'll have to add it back once supported) I'm okay with the change but would like to see those facts recorded in the comment. To me it currently reads as if we're simply removing this because we don't need to have now but will later and then have to add it back.

Even though this cfg isn't currently used, printing it doesn't hurt, and
it avoids a Clippy lint
Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

bors r+

bors bot added a commit that referenced this pull request Jan 13, 2020
187: 0.6.2 r=therealprof a=jonas-schievink

Closes #185 

Co-authored-by: Jonas Schievink <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jan 13, 2020

Build succeeded

@bors bors bot merged commit 6ac19a5 into rust-embedded:master Jan 13, 2020
@therealprof
Copy link
Contributor

... and published.

adamgreig pushed a commit that referenced this pull request Jan 12, 2022
187: Allow nightly to fail in Travis r=therealprof a=korken89

With nightly being a bit skiddish, lets allow nightly to fail.

Anyone against? @rust-embedded/cortex-m 

- [x] @adamgreig 
- [x] @korken89
- [x] @thejpster
- [ ] @ithinuel 
- [x] @therealprof 

Co-authored-by: Emil Fresk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish 0.6.2
3 participants