mirror of
https://github.com/Noratrieb/elven-forest.git
synced 2026-01-14 18:55:01 +01:00
parse header
This commit is contained in:
parent
b4e6836e04
commit
ee1a18f7c3
7 changed files with 227 additions and 1 deletions
1
test_data/.gitignore
vendored
Normal file
1
test_data/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/out
|
||||
8
test_data/create_test_data.sh
Executable file
8
test_data/create_test_data.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
for rust_file in $SCRIPT_DIR/*.rs; do
|
||||
# Use -Cprefer-dynamic to keep the binary small
|
||||
rustc --edition 2021 "$rust_file" -Cprefer-dynamic -Copt-level=3 --out-dir="$SCRIPT_DIR/out"
|
||||
done
|
||||
3
test_data/hello_world.rs
Normal file
3
test_data/hello_world.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, World!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue