This website requires JavaScript.
Explore
Help
Register
Sign In
patrickaldis
/
garnet
Watch
1
Star
0
Fork
0
You've already forked garnet
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
garnet
/
rust
/
main.rs
4 lines
47 B
Rust
Raw
Normal View
History
Unescape
Escape
Add simple Rust Crane project The Nix code is taken from the Crane docs, and adapted for merging with the existing Haskell.Nix flake. The other files are from `cargo init`, with minor modifications, and `cargo generate-lockfile`. The default dev shell contains tools for both languages. We can now run `nix build .#rust` and `nix build .#haskell`, where the latter was previously `nix build .#aoc:exe:aoc`.
2025-12-02 16:42:44 +00:00
fn
main
(
)
{
cleanup old files
2026-02-17 12:15:29 +00:00
println!
(
"
Hello from Rust
"
)
;
Add simple Rust Crane project The Nix code is taken from the Crane docs, and adapted for merging with the existing Haskell.Nix flake. The other files are from `cargo init`, with minor modifications, and `cargo generate-lockfile`. The default dev shell contains tools for both languages. We can now run `nix build .#rust` and `nix build .#haskell`, where the latter was previously `nix build .#aoc:exe:aoc`.
2025-12-02 16:42:44 +00:00
}
Reference in New Issue
Copy Permalink