Mist.toml support

This commit is contained in:
2026-06-11 19:06:07 +02:00
parent c37392046a
commit 74d53fff97
5 changed files with 120 additions and 31 deletions
+1 -1
View File
@@ -1 +1 @@
package = "main.mist"
packages = ["main.mist"]
-23
View File
@@ -1,23 +0,0 @@
pub module attribute_test;
#[derive(Debug)]
pub struct Debuggable {
value i32,
}
pub fn test_derive_attribute() {
let d = Debuggable { value: 42 };
assert_eq!(d.value, 42);
}
#[allow(unused_variables)]
pub fn test_allow_attribute() {
let x = 42;
let y = "unused";
assert_eq!(x, 42);
}
pub fn run_tests() {
test_derive_attribute();
test_allow_attribute();
}