-
Notifications
You must be signed in to change notification settings - Fork 382
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
Implement Cross.toml
deserialization using serde
#670
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
We can split the documentation out into it's own .md and then do #![doc = include_str!("file.md")] |
Thanks for the prompt review, @Emilgardis! I made the suggested changes and split out the documentation in a separate .md file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor nits, not really too major
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great 😄 thank you!
I want to merge #624 as well, but I think it makes sense to merge this before
please address the remaining clippy issues and add a simple changelog entry and I'll r+ this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build succeeded: |
683: fix env r=reitermarkus a=Emilgardis Fixes a wrong assumption done in #670 where we went from ```toml [target.aarch64-unknown-linux-gnu.env] volumes = [ "BUILD_DIR", ] ``` to ```toml [target.aarch64-unknown-linux-gnu] volumes = [ "BUILD_DIR", ] ``` this fixes that, and makes sure that all markdown toml fences are checked in CI for correctness. This pr also "un-opts" what was previously `CrossBuildConfig` to simplify a bit, see #670 (comment) Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
This PR implements the deserialization of the
Cross.toml
config usingserde
. It can therefore be seen as some preliminary work on the issues #657, #664, and is related to #532 on #624.I added some basic documentation as module-level documentation, although I'm not sure whether this is the best place for that. Ideally it should be documentated in the
README.md
at some point. Furthermore,CrossToml
lives in its own module, but a more suitable place might be theconfig
module.