wip: rustslop

This commit is contained in:
2026-06-22 00:20:18 -06:00
parent ef5362cc25
commit d13edd2ca0
9 changed files with 121 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
target
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "rust"
version = "0.1.0"
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "rust"
version = "0.1.0"
edition = "2024"
[dependencies]
+13
View File
@@ -0,0 +1,13 @@
{ lib
, rustPlatform
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rustslop";
version = "0.0.1";
src = ./.;
cargoLock = {
lockFile = ./Cargo.lock;
};
CARGO_BUILD_TARGET = "wasm32-wasip2";
})
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}