Initial commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/target
|
||||||
|
Cargo.lock
|
9
Cargo.toml
Normal file
9
Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "coremem"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Colin <colin@uninsane.org>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
6
README
Normal file
6
README
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
magnetic core memory simulator (i.e. those things they used in the Apollo computers).
|
||||||
|
|
||||||
|
run
|
||||||
|
```
|
||||||
|
cargo run --example coremem
|
||||||
|
```
|
3
examples/coremem.rs
Normal file
3
examples/coremem.rs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("loaded");
|
||||||
|
}
|
7
src/lib.rs
Normal file
7
src/lib.rs
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn it_works() {
|
||||||
|
assert_eq!(2 + 2, 4);
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user