updates - i forget, starting over chapter 6

This commit is contained in:
Tyrel Souza 2023-05-25 22:29:36 -04:00
parent 645a565719
commit f0c8a6b687
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
7 changed files with 341 additions and 1 deletions

7
apple/Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "apple"
version = "0.1.0"

8
apple/Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "apple"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
apple/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

8
justfile Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env -S just --justfile
vimspector:
echo -e "{ \"configurations\": { \"launch\": {\n \"adapter\": \"CodeLLDB\",\n \"filetypes\": [ \"rust\" ],\n \"configuration\": {\n \"request\": \"launch\",\n \"program\": \"\${workspaceRoot}/target/debug/rectangles\"\n }\n }\n }\n }" >> ./.vimspector.json
p:
echo $(pwd)

View File

@ -0,0 +1,15 @@
{
"configurations": {
"launch": {
"adapter": "CodeLLDB",
"filetypes": [ "rust" ],
"configuration": {
"request": "launch",
"program": "${workspaceRoot}/target/debug/rectangles"
}
}
}
}

View File

@ -25,7 +25,6 @@ impl Rectangle {
// MAIN
fn main() {
let rect1 = Rectangle { width:30, height:50};

300
tags

File diff suppressed because one or more lines are too long