Skip to content
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

doc: remove UsingNoAutoLayout #544

Merged
merged 1 commit into from
Jun 11, 2024
Merged

doc: remove UsingNoAutoLayout #544

merged 1 commit into from
Jun 11, 2024

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Jun 7, 2024

The no_auto_layout feature no longer exists. That makes this document outdated. It was actually my PR #482 that removed it. The difference between before that PR and after that PR is that the runtime crate (which is required) used to have the build.rs code that sets up the linker script. After that PR, the build.rs code is in its own crate that can be optionally included. Hence, it seems like we no longer need that feature.

Now, developers can get the same functionality by just not calling libtock_build_scripts::auto_layout(); from their build.rs file.

It's possible we should do more than just remove this file. The build scripts crate https://github.com/tock/libtock-rs/tree/master/build_scripts has documentation on how to use auto_layout(). I started writing a replacement document but didn't have much to say and it seemed redundant with what is in the build scripts readme.

This feature no longer exists. Instead, developers should not call
`libtock_build_scripts::auto_layout();` from their build.rs file.
@alevy alevy added this pull request to the merge queue Jun 11, 2024
Merged via the queue into master with commit 7efff93 Jun 11, 2024
3 checks passed
@alevy alevy deleted the doc-rm-using-no-auto-layout branch June 11, 2024 18:28
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.

3 participants