Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented May 22, 2023

Pull Request Overview

Without this change I was getting:

$ make
info: component 'llvm-tools' for target 'x86_64-apple-darwin' is up to date

on every build. It seems llvm-tools is now a real thing, and no longer a preview.

Testing Strategy

running make

TODO or Help Wanted

n/a

Documentation Updated

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

Formatting

  • Ran make prepush.

alistair23
alistair23 previously approved these changes May 22, 2023
hudson-ayers
hudson-ayers previously approved these changes May 23, 2023
@bradjc
Copy link
Contributor Author

bradjc commented May 30, 2023

This one is easy!

shell.nix Outdated
@@ -73,7 +73,7 @@ let
];
extensions = [
"rust-src" # required to compile the core library
"llvm-tools-preview" # currently required to support recently added flags
"llvm-tools" # currently required to support recently added flags
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"llvm-tools" # currently required to support recently added flags
"llvm-tools-preview" # currently required to support recently added flags

This breaks on Nix unfortunately. I tried to look into the root cause of this, and it seems that the Rust overlay we use extracts the extensions from the actual upstream Rust package, so it seems there's at least one point in the chain where this rename hasn't propagated.

I tested these changes with llvm-tools-preview and managed to compile a board / run a few makefile commands. Happy to see this merged without this particular change, and I can investigate it when I'm not on airport wifi.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reverted the change to shell.nix.

@bradjc bradjc dismissed stale reviews from hudson-ayers and alistair23 via cdda3d3 June 1, 2023 16:59
@bradjc bradjc force-pushed the llvm-tools-no-preview branch from 7a9ca6e to cdda3d3 Compare June 1, 2023 16:59
@bradjc
Copy link
Contributor Author

bradjc commented Jun 6, 2023

This one is a real quality of life improvement.

Copy link
Member

@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Jun 8, 2023
3439: boards: nrf52840dk: fix ctap example code r=ppannuto a=bradjc



### Pull Request Overview

Since we had the CTAP code commented out, it didn't get updated when the component did.


### Testing Strategy

compiling


### TODO or Help Wanted

n/a


### Documentation Updated

- [x] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [x] Ran `make prepush`.


3443: make: llvm-tools no longer preview r=ppannuto a=bradjc

### Pull Request Overview

Without this change I was getting:

```
$ make
info: component 'llvm-tools' for target 'x86_64-apple-darwin' is up to date
```
on every build. It seems llvm-tools is now a real thing, and no longer a preview.


### Testing Strategy

running make


### TODO or Help Wanted

n/a


### Documentation Updated

- [x] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [x] Ran `make prepush`.


3444: kernel: minor updates to platform.rs r=ppannuto a=bradjc

- Reorder the context switch callback getter to match the type def.
- Cleanup comments.

Minor fixes as I'm looking at (and writing about) this file.


### Testing Strategy

n/a


### TODO or Help Wanted

n/a


### Documentation Updated

- [x] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [x] Ran `make prepush`.


3456: capsules: tickv: do operation after init on already init r=ppannuto a=bradjc

### Pull Request Overview

With tickv, if the KV store is already initialized, and a board runs an operation right away, the operation would get queued waiting on the init to finish, but if the init finishes without having to do anything (already inited), the queued operation would never run. This fixes that.


### Testing Strategy

testing out tickv on nrf52840dk


### TODO or Help Wanted

n/a


### Documentation Updated

- [x] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [x] Ran `make prepush`.


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

bors bot commented Jun 8, 2023

This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried.

Additional information:

Response status code: 422
{"message":"Changes must be made through a pull request.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

@bradjc
Copy link
Contributor Author

bradjc commented Jun 9, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 9, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bradjc bradjc merged commit e4b1bcb into master Jun 9, 2023
@bors bors bot deleted the llvm-tools-no-preview branch June 9, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants