Update project structure

This commit is contained in:
Werner
2021-12-25 08:20:21 -03:00
parent ddd78713ba
commit 4f9a05286c
6 changed files with 13 additions and 7 deletions

6
.cargo/config.toml Normal file
View File

@ -0,0 +1,6 @@
[build]
target-dir = "Binaries"
target = "ps2.json"
[unstable]
build-std = ["core"]

5
.gitignore vendored
View File

@ -1,5 +1,2 @@
/target Binaries/
Cargo.lock Cargo.lock
*.tar.gz

View File

@ -3,6 +3,10 @@ name = "rust-ps2"
version = "0.1.0" version = "0.1.0"
edition = "2018" edition = "2018"
[[bin]]
name = "RustPS2"
path = "Source/Main.rs"
[dependencies] [dependencies]
panic-halt = "0.2.0" panic-halt = "0.2.0"
prussia_rt = { git = "https://github.com/Ravenslofty/prussia" } prussia_rt = { git = "https://github.com/Ravenslofty/prussia" }

View File

@ -1,5 +1,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![allow(non_snake_case)]
#![allow(unused_imports)] #![allow(unused_imports)]
use panic_halt; use panic_halt;

View File

@ -8,16 +8,13 @@
"linker": "mips64el-none-elf-ld", "linker": "mips64el-none-elf-ld",
"linker-flavor": "ld", "linker-flavor": "ld",
"llvm-target": "mipsel-none-elf", "llvm-target": "mipsel-none-elf",
"llvm-args": "-mxgot",
"max-atomic-width": 32, "max-atomic-width": 32,
"os": "none", "os": "none",
"panic_strategy": "abort",
"position-independent-executables": false, "position-independent-executables": false,
"relro-level": "full", "relro-level": "full",
"target-c-int-width": "32", "target-c-int-width": "32",
"target-endian": "little", "target-endian": "little",
"target-pointer-width": "32", "target-pointer-width": "32",
"soft-float": true,
"vendor": "unknown", "vendor": "unknown",
"post-link-args": { "post-link-args": {
"ld": [ "ld": [

1
rust-toolchain Normal file
View File

@ -0,0 +1 @@
nightly