mirror of
https://github.com/guilhermewerner/rust-ps2
synced 2025-06-15 05:14:19 +00:00
Update project structure
This commit is contained in:
6
.cargo/config.toml
Normal file
6
.cargo/config.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[build]
|
||||
target-dir = "Binaries"
|
||||
target = "ps2.json"
|
||||
|
||||
[unstable]
|
||||
build-std = ["core"]
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,5 +1,2 @@
|
||||
/target
|
||||
|
||||
Binaries/
|
||||
Cargo.lock
|
||||
|
||||
*.tar.gz
|
||||
|
@ -3,6 +3,10 @@ name = "rust-ps2"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "RustPS2"
|
||||
path = "Source/Main.rs"
|
||||
|
||||
[dependencies]
|
||||
panic-halt = "0.2.0"
|
||||
prussia_rt = { git = "https://github.com/Ravenslofty/prussia" }
|
||||
|
@ -1,5 +1,6 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use panic_halt;
|
3
ps2.json
3
ps2.json
@ -8,16 +8,13 @@
|
||||
"linker": "mips64el-none-elf-ld",
|
||||
"linker-flavor": "ld",
|
||||
"llvm-target": "mipsel-none-elf",
|
||||
"llvm-args": "-mxgot",
|
||||
"max-atomic-width": 32,
|
||||
"os": "none",
|
||||
"panic_strategy": "abort",
|
||||
"position-independent-executables": false,
|
||||
"relro-level": "full",
|
||||
"target-c-int-width": "32",
|
||||
"target-endian": "little",
|
||||
"target-pointer-width": "32",
|
||||
"soft-float": true,
|
||||
"vendor": "unknown",
|
||||
"post-link-args": {
|
||||
"ld": [
|
||||
|
1
rust-toolchain
Normal file
1
rust-toolchain
Normal file
@ -0,0 +1 @@
|
||||
nightly
|
Reference in New Issue
Block a user