-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
20 lines (16 loc) · 1019 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
run:
cd virtualfriend_desktop && rm -f instructions.log && cargo run --release
flamegraph:
cd virtualfriend_desktop && export CARGO_PROFILE_RELEASE_DEBUG=true && cargo flamegraph --bench complete --root --min-width 0.0001
profile:
cd virtualfriend_desktop && export CARGO_PROFILE_RELEASE_DEBUG=true && cargo instruments --bench complete -t "CPU Profiler" --time-limit 20000
leaks:
cd virtualfriend_desktop && cargo instruments --release -t Leaks --output leak.trace
3ds:
cd virtualfriend_3ds && cargo 3ds run --address 192.168.1.169 --server --release
3ds-asm:
cargo asm -p virtualfriend --rust --target armv6k-nintendo-3ds -Z build-std=std --lib virtualfriend::cpu_v810::CpuV810::step > output.asm
vision:
cd virtualfriend_swift && cargo build -Zbuild-std --target aarch64-apple-visionos --release && cargo build -Zbuild-std --target aarch64-apple-visionos-sim --release
ios:
cd virtualfriend_swift && cargo build --target aarch64-apple-ios --release && cargo build --target aarch64-apple-ios-sim --release