Skip to content

Commit

Permalink
Move UEFI target to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Mar 20, 2023
1 parent 94d26fa commit 6b8cea5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,7 @@ jobs:
with:
lfs: true
- name: Install stable Rust toolchain
if: matrix.target != 'x86_64-uefi'
uses: dtolnay/rust-toolchain@stable
- name: Use nightly Rust toolchain (UEFI)
if: matrix.target == 'x86_64-uefi'
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-02-01
- name: Build
run: cargo xtask build --target ${{ matrix.target }}
env:
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ x86_64 = { version = "0.14", default-features = false }
align-data = "0.1"

[target.'cfg(target_os = "uefi")'.dependencies]
uefi = { version = "0.19" }
uefi-services = "0.16"
uefi = { version = "0.20" }
uefi-services = "0.17"

[build-dependencies]
cc = "1.0"
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![no_main]
#![warn(rust_2018_idioms)]
#![allow(clippy::missing_safety_doc)]
#![cfg_attr(target_os = "uefi", feature(abi_efiapi))]

#[macro_use]
mod macros;
Expand Down

0 comments on commit 6b8cea5

Please sign in to comment.