mirror of
https://github.com/JayGLXR/Rusty-Stardust
synced 2026-06-06 15:54:28 +00:00
18 lines
536 B
Bash
18 lines
536 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# This script can be used for local testing with a native Rust installation
|
|
# It won't generate the actual cross-compiled Windows shellcode but helps validate code
|
|
|
|
echo "Building Rust code with native compiler..."
|
|
cargo build
|
|
|
|
echo "Testing code structure..."
|
|
cargo check --all-features
|
|
|
|
echo "Checking for errors..."
|
|
cargo clippy
|
|
|
|
echo "All tests passed!"
|
|
echo "Note: This is only a code quality test - for actual Windows shellcode generation,"
|
|
echo "you need to use the Docker-based build with cross-compilation." |