hypha: implement basic networking support

This commit is contained in:
Alex Zenla committed 2024-02-05 12:46:02 +00:00
1 parent 70dc2f943f
commit 21c6a27097
14 files changed
+233 -18

No files matched your search

+1 -1
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
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 "${@}"