Skip to content

Commit

Permalink
Remove hacks module (again)
Browse files Browse the repository at this point in the history
This basically reverts 581eb55
and b4d2f7a, because current
rustc provides these symbols again.
  • Loading branch information
YtvwlD committed Nov 25, 2024
1 parent 1fb99ac commit 13c4b03
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 36 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ If you want to compile towboot yourself, here are the instructions:

You'll need a nightly Rust compiler.
The version doesn't really matter,
though `1.83.0-nightly (52fd99839 2024-10-10)` definitely works.
though `1.85.0-nightly (28fc2ba71 2024-11-24)` definitely works.
If you don't know how to install one,
please take a look at [rustup.rs](https://rustup.rs/).

Expand Down
4 changes: 0 additions & 4 deletions towboot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,5 @@ scroll = { version = "0.12", default-features = false }

towboot_config = { path = "../towboot_config" }

# i686-unknown-uefi currently lacks float functions, see hacks.rs
[target.'cfg(target_arch = "x86")'.dependencies]
libm = "0.2"

[build-dependencies]
built = { version = "0.7", features = ["git2"] }
22 changes: 0 additions & 22 deletions towboot/src/hacks.rs

This file was deleted.

2 changes: 0 additions & 2 deletions towboot/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ use uefi::proto::loaded_image::{LoadedImage, LoadOptionsError};
use log::{debug, info, warn, error};

mod boot;
// contains several workarounds for bugs in the Rust UEFI targets
mod hacks;
mod config;
mod file;
mod mem;
Expand Down

0 comments on commit 13c4b03

Please sign in to comment.