mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
include patches for shellchat and rootkeys
This commit is contained in:
parent
25c30f6cde
commit
6c49e2a6dd
2 changed files with 37 additions and 0 deletions
|
|
@ -352,6 +352,19 @@ impl Builder {
|
|||
"# 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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -220,6 +220,18 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
"branch = \"main\" # c25519",
|
||||
)
|
||||
.ok();
|
||||
builder::search_and_replace_in_file(
|
||||
"services/root-keys/Cargo.toml",
|
||||
"# features = [\"auto-release\", \"warn-fallback\"]",
|
||||
"features = [\"auto-release\", \"warn-fallback\"]",
|
||||
)
|
||||
.ok();
|
||||
builder::search_and_replace_in_file(
|
||||
"services/shellchat/Cargo.toml",
|
||||
"# features = [\"auto-release\", \"warn-fallback\"]",
|
||||
"features = [\"auto-release\", \"warn-fallback\"]",
|
||||
)
|
||||
.ok();
|
||||
|
||||
match builder::search_in_file("services/aes/Cargo.toml", "default = []") {
|
||||
Ok(false) => {
|
||||
|
|
@ -673,6 +685,18 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
"branch = \"main\" # c25519",
|
||||
)
|
||||
.expect("couldn't patch curve25519");
|
||||
builder::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");
|
||||
builder::search_and_replace_in_file(
|
||||
"services/shellchat/Cargo.toml",
|
||||
"# features = [\"auto-release\", \"warn-fallback\"]",
|
||||
"features = [\"auto-release\", \"warn-fallback\"]",
|
||||
)
|
||||
.expect("couldn't patch shellchat");
|
||||
}
|
||||
match builder::search_in_file("services/aes/Cargo.toml", "default = []") {
|
||||
Ok(false) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue