Files
haikuports/dev-lang/rust/patches/rust-1.73.0.patchset
Niels Sascha Reedijk 556ef50e0e Rust: cleanup recipes and WIP for 1.73.0 (#9752)
This commit cleans out all previous Rust recipes, and provides a work
in progress recipe for 1.73.0.

The current status of the 1.73.0 recipe is that it contains all changes
that are needed to do a successful build. I am running into an error,
where the intermediate stage1 compiler is not able to find the core
and standard libraries. This is not an issue building outside of
`haikuporter`. I suspect the chroot environment may be the reason, but
it requires more investigation.
2023-11-20 07:38:23 +01:00

25 lines
869 B
Plaintext

From 83028081fd5a3c49a3340432b59436cbc60e94ff Mon Sep 17 00:00:00 2001
From: Niels Sascha Reedijk <niels.reedijk@gmail.com>
Date: Sun, 12 Nov 2023 09:51:11 +0000
Subject: [PATCH] Use html5ever with build fix for Haiku
---
Cargo.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Cargo.toml b/Cargo.toml
index d2e84d5..1713cd4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -109,6 +109,7 @@ object.debug = 0
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
+html5ever = { git = 'https://github.com/servo/html5ever', rev = '16b5127f6cce2182409a8384a38af8dc64532d23' }
[patch."https://github.com/rust-lang/rust-clippy"]
clippy_lints = { path = "src/tools/clippy/clippy_lints" }
--
2.37.3