Browse Source

Make the build work on recent versions of Rust nightly.

master
James Martin 2 years ago
parent
commit
021a4a897e
Signed by: james
GPG Key ID: 4B7F3DA9351E577C
  1. 2
      .cargo/config
  2. 28
      Cargo.lock
  3. 6
      Cargo.toml
  4. 5
      rust-toolchain

2
.cargo/config

@ -0,0 +1,2 @@
[build]
target = "x86_64-unknown-uefi"

28
Cargo.lock generated

@ -44,8 +44,8 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "compiler_builtins"
version = "0.1.36"
source = "git+https://github.com/rust-lang/compiler-builtins#0f2271e566f78dbe7aa3441c9e497c655592acef"
version = "0.1.39"
source = "git+https://github.com/rust-lang/compiler-builtins#e6fd1b272ff4cc34810e20126ffe17888a708f39"
[[package]]
name = "log"
@ -58,9 +58,9 @@ dependencies = [
[[package]]
name = "num-integer"
version = "0.1.43"
version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
dependencies = [
"autocfg",
"num-traits",
@ -68,9 +68,9 @@ dependencies = [
[[package]]
name = "num-traits"
version = "0.2.12"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
dependencies = [
"autocfg",
]
@ -94,18 +94,18 @@ dependencies = [
[[package]]
name = "quote"
version = "1.0.7"
version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
checksum = "991431c3519a3f36861882da93630ce66b52918dcf1b8e2fd66b397fc96f28df"
dependencies = [
"proc-macro2",
]
[[package]]
name = "syn"
version = "1.0.48"
version = "1.0.58"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac"
checksum = "cc60a3d73ea6594cd712d830cc1f0390fd71542d8c8cd24e70cc54cdfd5e05d5"
dependencies = [
"proc-macro2",
"quote",
@ -123,9 +123,9 @@ dependencies = [
[[package]]
name = "uefi"
version = "0.6.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43cbf498e073acb4d1f5bd59b5347757b495163ecfce9d18db81c44b99a542fa"
checksum = "bf8b4606744665c071d73d84b4ba9763b464f3500b73d8e2f13ef6f31c99f1be"
dependencies = [
"bitflags",
"log",
@ -152,9 +152,9 @@ checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
[[package]]
name = "x86_64"
version = "0.12.2"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5b4b42dbabe13b69023e1a1407d395f1a1a33df76e9a9efdbe303acc907e292"
checksum = "5d74944372d63f31dd39fce1ef8036143484ff4cd4efcd743ef50135839de4e7"
dependencies = [
"bit_field 0.9.0",
"bitflags",

6
Cargo.toml

@ -19,11 +19,11 @@ git = "https://github.com/jamestmartin/pc-screen-font"
rev = "aa3d7a09ee5d0ee632676fbbabea8fcaf570b83d"
[dependencies.num-integer]
version = "0.1.43"
version = "0.1.44"
default-features = false
[target.'cfg(target_os = "uefi")'.dependencies]
uefi = "0.6.0"
uefi = "0.7"
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_64 = "0.12.2"
x86_64 = "0.13"

5
rust-toolchain

@ -1 +1,4 @@
nightly
[toolchain]
channel = "nightly"
components = ["rust-src-x86_64-unknown-uefi"]
targets = ["x86_64-unknown-uefi"]

Loading…
Cancel
Save