Skip to content

Conversation

hudson-ayers
Copy link
Contributor

Pull Request Overview

This pull request updates Rust to yesterday's nightly, and adds an allow() for 14 dead code warnings that surface in the tbf header module.

I was motivated to submit this because upstream Rust recently switched over to LLVMs new pass manager (rust-lang/rust#88243) which seems to be able to make better decisions about inlining functions thanks to its bottom-up pass approach ensuring that callees are always maximally optimized by the time callers are being optimized.

This change reduces code size by 1232 bytes on Imix.

I realize that two rust updates in a month is more frequently than we normally update, so if we want to wait a while I understand.

Testing Strategy

This pull request was tested by compiling.

TODO or Help Wanted

N/A

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@github-actions github-actions bot added the tock-libraries This affects libraries supported by the Tock project label Oct 4, 2021
@alistair23
Copy link
Contributor

I think it makes sense to update again this month if there is something we want. You need to run the update script though

Copy link
Contributor

@bradjc bradjc left a comment

Choose a reason for hiding this comment

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

Yeah let's update rust whenever we need new features.

But do need to run the script.

@hudson-ayers
Copy link
Contributor Author

I ran the script, and went with 2021-10-05 because that is what the script suggested

@bradjc
Copy link
Contributor

bradjc commented Oct 11, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 11, 2021

@bors bors bot merged commit 2b28ce3 into tock:master Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tock-libraries This affects libraries supported by the Tock project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants