Skip to content

Commit

Permalink
Switch to nightly branch of rustc
Browse files Browse the repository at this point in the history
Inline ASM isn't stable, see
https://doc.rust-lang.org/unstable-book/language-features/asm.html and rust-lang/rust#29722.

We use asm in `src/kernel/execve/loader`, which needs direct access to
registers and can't be done in pure rust.
We also use the `syscall` crate in several places, which also uses
inline asm.
  • Loading branch information
jyn514 committed Jun 22, 2019
1 parent cd7e191 commit f0a9982
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
language: rust
rust:
- stable
- beta
- nightly
before_script:
- rustup component add clippy rustfmt
script:
- cargo fmt --all -- --check
- cargo clippy -- -D warnings
- cargo build
- cargo test

0 comments on commit f0a9982

Please sign in to comment.