Initial Setup

This commit is contained in:
Dandaedre 2024-04-23 15:49:34 +02:00
parent a511522c1d
commit 17d5bd90ab
4 changed files with 28 additions and 0 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[build]
rustflags = ["-Clink-arg=-fuse-ld=mold", "-Ctarget-cpu=native"]

5
.gitignore vendored
View File

@ -14,3 +14,8 @@ Cargo.lock
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Added by cargo
/target

18
Cargo.toml Normal file
View File

@ -0,0 +1,18 @@
cargo-features = ["codegen-backend"]
[package]
name = "ravenous-tools"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[profile.dev]
debug = 0
codegen-backend = "cranelift"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}