hypha: implement basic networking support

This commit is contained in:
Alex Zenla
2024-02-05 12:45:45 +00:00
parent 70dc2f943f
commit 21c6a27097
14 changed files with 233 additions and 18 deletions

View File

@ -2,5 +2,5 @@
set -e
cd "$(dirname "${0}")/.."
cargo fmt --all
cargo clippy --target x86_64-unknown-linux-gnu --fix --allow-dirty --allow-staged
cargo fmt --all

11
scripts/hyphanet-debug.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
set -e
if [ -z "${RUST_LOG}" ]
then
RUST_LOG="INFO"
fi
cd "$(dirname "${0}")/.."
cargo build --target x86_64-unknown-linux-gnu --bin hyphanet
exec sudo RUST_LOG="${RUST_LOG}" target/x86_64-unknown-linux-gnu/debug/hyphanet "${@}"