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

Configurable kernel stack size, better non-x86_64 errors #72

Merged
merged 2 commits into from
Aug 5, 2019

Conversation

64
Copy link
Contributor

@64 64 commented Aug 2, 2019

Allows the configuration of the kernel stack size through an environment variable.

Also makes the errors a bit nicer if you try to use this crate from a non-x86_64 architecture (only works if you build it as a library), as discussed in #70.

@phil-opp
Copy link
Member

phil-opp commented Aug 2, 2019

Looks good to me! Nice cleanup in the build.rs.

CI is currently broken because of rust-lang/rust#63195. Since this is a non-critical change I would probably wait a day or two until the issue is fixed instead of force-merging.

@phil-opp
Copy link
Member

phil-opp commented Aug 5, 2019

I think the rust nightly should be fixed now.

bors r+

bors bot added a commit that referenced this pull request Aug 5, 2019
72: Configurable kernel stack size, better non-x86_64 errors r=phil-opp a=64

Allows the configuration of the kernel stack size through an environment variable.

Also makes the errors a bit nicer if you try to use this crate from a non-x86_64 architecture (only works if you build it as a library), as discussed in #70.

Co-authored-by: Matt Taylor <mstaveleytaylor@gmail.com>
@bors
Copy link
Contributor

bors bot commented Aug 5, 2019

Build failed

  • rust-osdev.bootloader

@phil-opp
Copy link
Member

phil-opp commented Aug 5, 2019

@64 Could you cargo fmt this?

@64
Copy link
Contributor Author

64 commented Aug 5, 2019

Damn, I really need to set up a pre-commit hook or something...

Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Thanks!

bors r+

bors bot added a commit that referenced this pull request Aug 5, 2019
72: Configurable kernel stack size, better non-x86_64 errors r=phil-opp a=64

Allows the configuration of the kernel stack size through an environment variable.

Also makes the errors a bit nicer if you try to use this crate from a non-x86_64 architecture (only works if you build it as a library), as discussed in #70.

Co-authored-by: Matt Taylor <mstaveleytaylor@gmail.com>
@bors
Copy link
Contributor

bors bot commented Aug 5, 2019

Build succeeded

  • rust-osdev.bootloader

@bors bors bot merged commit cc59140 into rust-osdev:master Aug 5, 2019
@64 64 deleted the stack-size branch August 5, 2019 17:15
phil-opp added a commit that referenced this pull request Aug 7, 2019
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.

2 participants