-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ithinuel (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
There's still an issue with no_std in |
@rubdos Indeed. I also noticed that while trying to upgrade some other crates of mine a while ago. Just curious: What's the benefit of this version bump? |
Fair point... I was bumping it because I was trying to get futures + async_await to compile, and I noticed that It's nothing urgent though, I don't even have my test boards yet :D |
@rubdos The use of rand in this crate is somewhat special and also a bit unfortunate, bumping it to the latest version sounds good to me in general, but it would be even better if we could completely eliminate it. 😅 |
Ah, tbqf, I didn't look at why it needed It's not lost energy though, since that issue I found in I've had a look at the use, and it's just to generate some unique identifiers with a bunch of macros? I don't get why it'd need to be EDIT: It's already only in dev-dependencies! Why is it still compiled for the target itself then? 😮 |
@rubdos You can only have one set of dependencies with one set of feature-flags (feature flags are always additive) in your application. So it's normally only used at build time, but in case you want to use it in an application you're stuck with the same one... |
I'd agree, but in this case, there's one If I remove |
Sure. |
205: Stop using randomized symbol names r=therealprof a=jonas-schievink It isn't possible to do this by incrementing a global counter, since the expansion order of macros isn't guaranteed and might change between compiler invocations. Fixes #212 Closes #196 Closes #195 Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
205: Stop using randomized symbol names r=therealprof a=jonas-schievink It isn't possible to do this by incrementing a global counter, since the expansion order of macros isn't guaranteed and might change between compiler invocations. Fixes #212 Closes rust-embedded/cortex-m-rt#196 Closes rust-embedded/cortex-m-rt#195 Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Since a bit,
rand
hassmall_rng
as a separate feature. I thus had to add it as required feature.