Skip to content

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

Merged
bors[bot] merged 2 commits into
rust-osdev:masterfrom
64:stack-size
Aug 5, 2019
Merged

Configurable kernel stack size, better non-x86_64 errors#72
bors[bot] merged 2 commits into
rust-osdev:masterfrom
64:stack-size

Conversation

@64

@64 64 commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

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

phil-opp commented Aug 2, 2019

Copy link
Copy Markdown
Member

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

phil-opp commented Aug 5, 2019

Copy link
Copy Markdown
Member

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

bors Bot commented Aug 5, 2019

Copy link
Copy Markdown
Contributor

Build failed

  • rust-osdev.bootloader

@phil-opp

phil-opp commented Aug 5, 2019

Copy link
Copy Markdown
Member

@64 Could you cargo fmt this?

@64

64 commented Aug 5, 2019

Copy link
Copy Markdown
Contributor Author

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

@phil-opp phil-opp left a comment

Copy link
Copy Markdown
Member

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

bors Bot commented Aug 5, 2019

Copy link
Copy Markdown
Contributor

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