initial commit

This commit is contained in:
Daniel Flanagan 2020-12-13 01:23:29 -06:00
commit 030cb4f753
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 26 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

5
Cargo.lock generated Normal file
View file

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

12
Cargo.toml Normal file
View file

@ -0,0 +1,12 @@
[package]
name = "hello-world"
version = "0.1.0"
authors = ["Daniel Flanagan <daniel@lyte.dev>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

5
makefile Normal file
View file

@ -0,0 +1,5 @@
.PHONE: default
default:
# Make sure that `cross` is installed (`cargo install cross`)
# and that docker is running
cross build --target arm-unknown-linux-gnueabihf

3
src/main.rs Normal file
View file

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