mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup cargo hacks for build
This commit is contained in:
parent
381b7ec90e
commit
275e4c7af6
1 changed files with 0 additions and 35 deletions
|
|
@ -349,41 +349,6 @@ impl Builder {
|
|||
self.run_svd2repl = false;
|
||||
self.loader = CrateSpec::Local("loader".to_string(), LoaderRegion::Ram);
|
||||
self.kernel = CrateSpec::Local("xous-kernel".to_string(), LoaderRegion::Ram);
|
||||
search_and_replace_in_file("services/aes/Cargo.toml", "default = []", "default = [\"cramium-soc\"]")
|
||||
.expect("couldn't patch AES");
|
||||
|
||||
// this is needed because we don't have an ed25519 accelerator on cramium targets
|
||||
search_and_replace_in_file(
|
||||
"Cargo.toml",
|
||||
"[patch.crates-io.curve25519-dalek]",
|
||||
"# [patch.crates-io.curve25519-dalek]",
|
||||
)
|
||||
.expect("couldn't patch curve25519");
|
||||
search_and_replace_in_file(
|
||||
"Cargo.toml",
|
||||
"git = \"https://github.com/betrusted-io/curve25519-dalek.git\"",
|
||||
"# git = \"https://github.com/betrusted-io/curve25519-dalek.git\"",
|
||||
)
|
||||
.expect("couldn't patch curve25519");
|
||||
search_and_replace_in_file(
|
||||
"Cargo.toml",
|
||||
"branch = \"main\" # c25519",
|
||||
"# branch = \"main\" # c25519",
|
||||
)
|
||||
.expect("couldn't patch curve25519");
|
||||
search_and_replace_in_file(
|
||||
"services/root-keys/Cargo.toml",
|
||||
"features = [\"auto-release\", \"warn-fallback\"]",
|
||||
"# features = [\"auto-release\", \"warn-fallback\"]",
|
||||
)
|
||||
.expect("couldn't patch rootkeys");
|
||||
search_and_replace_in_file(
|
||||
"services/shellchat/Cargo.toml",
|
||||
"features = [\"auto-release\", \"warn-fallback\"]",
|
||||
"# features = [\"auto-release\", \"warn-fallback\"]",
|
||||
)
|
||||
.expect("couldn't patch shellchat");
|
||||
|
||||
self
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue