Add assignment 2a rust
This commit is contained in:
parent
08f9ee167a
commit
d7eb032095
9 changed files with 1269 additions and 30 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
.direnv
|
||||
.pijul
|
||||
|
||||
/target
|
||||
|
|
1229
Cargo.lock
generated
Normal file
1229
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
20
Cargo.toml
Normal file
20
Cargo.toml
Normal file
|
@ -0,0 +1,20 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"assignment-0",
|
||||
"assignment-1a",
|
||||
"assignment-1b",
|
||||
"assignment-1c",
|
||||
"assignment-1d",
|
||||
"assignment-2a-rust",
|
||||
]
|
||||
|
||||
# For profiling with flamegraphs
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
# Optimize for size when creating handin
|
||||
[profile.release-handin]
|
||||
inherits = "release"
|
||||
strip = true
|
||||
lto = true
|
||||
|
|
@ -4,16 +4,6 @@ authors = ["Michael Zhang <zhan4854@umn.edu>"]
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# For profiling with flamegraphs
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
# Optimize for size when creating handin
|
||||
[profile.release-handin]
|
||||
inherits = "release"
|
||||
strip = true
|
||||
lto = true
|
||||
|
||||
[[bin]]
|
||||
name = "raytracer1b"
|
||||
path = "src/main.rs"
|
||||
|
|
|
@ -4,16 +4,6 @@ authors = ["Michael Zhang <zhan4854@umn.edu>"]
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# For profiling with flamegraphs
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
# Optimize for size when creating handin
|
||||
[profile.release-handin]
|
||||
inherits = "release"
|
||||
strip = true
|
||||
lto = true
|
||||
|
||||
[[bin]]
|
||||
name = "raytracer1c"
|
||||
path = "src/main.rs"
|
||||
|
|
|
@ -4,16 +4,6 @@ authors = ["Michael Zhang <zhan4854@umn.edu>"]
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# For profiling with flamegraphs
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
# Optimize for size when creating handin
|
||||
[profile.release-handin]
|
||||
inherits = "release"
|
||||
strip = true
|
||||
lto = true
|
||||
|
||||
[features]
|
||||
release-handin = ["tracing/release_max_level_info"]
|
||||
|
||||
|
|
7
assignment-2a-rust/Cargo.lock
generated
Normal file
7
assignment-2a-rust/Cargo.lock
generated
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "assignment-2a-rust"
|
||||
version = "0.1.0"
|
8
assignment-2a-rust/Cargo.toml
Normal file
8
assignment-2a-rust/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "assignment-2a-rust"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
3
assignment-2a-rust/src/main.rs
Normal file
3
assignment-2a-rust/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in a new issue