Skip to content

Commit

Permalink
Fix patches
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Feb 20, 2024
1 parent f6e16e9 commit c3d5b7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
4 changes: 1 addition & 3 deletions patches/0022-core-Disable-not-compiling-tests.patch
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,4 @@ index 42a26ae..5ac1042 100644
+#![cfg(test)]
#![feature(alloc_layout_extra)]
#![feature(array_chunks)]
#![feature(array_methods)]
--
2.21.0 (Apple Git-122)
#![feature(array_windows)]
16 changes: 0 additions & 16 deletions patches/cross_patches/0001-Disable-libstd-and-libtest-dylib.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,3 @@ index 5b21355..cb0c49b 100644

[dependencies]
alloc = { path = "../alloc", public = true }
diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml
index 91a1abd..a58c160 100644
--- a/library/test/Cargo.toml
+++ b/library/test/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.0.0"
edition = "2021"

[lib]
-crate-type = ["dylib", "rlib"]
+crate-type = ["rlib"]

[dependencies]
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
--
2.42.0

0 comments on commit c3d5b7f

Please sign in to comment.