mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Several steps were required to get Arti to work on Redox: - Disable harden feature to resolve secmem-proc issue - Static link sqlite inside Arti - Patch to resolve "try_lock() not supported" With these changes Arti can be used on Redox. If it's called with argument `--disable-fs-permission-checks` since `/home` permissions do not restrict groups to write. TODOs added to revisit later: - Check if `redox.patch` is still required after planned Rust toolchain update. - Instead of `static-sqlite` use our own linked `sqlite3` once that is fully functional.
19 lines
584 B
TOML
19 lines
584 B
TOML
[source]
|
|
git = "https://gitlab.torproject.org/tpo/core/arti"
|
|
rev = "arti-v2.7.0"
|
|
shallow_clone = true
|
|
# TODO: Check if this patch is still necessary after
|
|
# we've updated our Rust toolchains on Redox.
|
|
patches = ["redox.patch"]
|
|
[build]
|
|
template = "cargo"
|
|
# TODO: Remove `static-sqlite` feature once Redox' sqlite3-package is fully functional.
|
|
cargoflags = [
|
|
"--no-default-features",
|
|
"--features=default-runtime,dns-proxy,compression,bridge-client,pt-client,onion-service-client,vanguards,flowctl-cc,static-sqlite",
|
|
]
|
|
cargopackages = ["arti"]
|
|
dependencies = [
|
|
"openssl3",
|
|
]
|