mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 10:54:16 +00:00
Move extern_alloc to skyline
This commit is contained in:
parent
02347abf7a
commit
7bc01022f5
6 changed files with 9 additions and 9 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -6,10 +6,6 @@ version = "0.1.10"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
||||
|
||||
[[package]]
|
||||
name = "extern_alloc"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "getrandom"
|
||||
version = "0.1.14"
|
||||
|
@ -31,7 +27,7 @@ checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0"
|
|||
name = "no_std_test"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"extern_alloc",
|
||||
"skyline",
|
||||
"tempfile",
|
||||
]
|
||||
|
||||
|
@ -97,6 +93,10 @@ dependencies = [
|
|||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "skyline"
|
||||
version = "0.0.1"
|
||||
|
||||
[[package]]
|
||||
name = "tempfile"
|
||||
version = "3.1.0"
|
||||
|
|
|
@ -10,7 +10,7 @@ crate-type = ["cdylib"]
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
extern_alloc = { path = "./extern_alloc" }
|
||||
skyline = { path = "./skyline" }
|
||||
|
||||
[build-dependencies]
|
||||
tempfile = "3"
|
||||
|
|
0
extern_alloc/Cargo.lock → skyline/Cargo.lock
generated
0
extern_alloc/Cargo.lock → skyline/Cargo.lock
generated
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "extern_alloc"
|
||||
version = "0.1.0"
|
||||
name = "skyline"
|
||||
version = "0.0.1"
|
||||
authors = ["jam1garner <jam1.mcleod@hotmail.com>"]
|
||||
edition = "2018"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
#![feature(lang_items, start, global_asm, const_generics, impl_trait_in_bindings)]
|
||||
|
||||
use core::any::Any;
|
||||
use extern_alloc::Allocator;
|
||||
use skyline::Allocator;
|
||||
|
||||
#[global_allocator]
|
||||
pub static ALLOCATOR: Allocator = Allocator;
|
||||
|
|
Loading…
Reference in a new issue