Skip to content

Instantly share code, notes, and snippets.

View corelibcore's full-sized avatar
💭
I may be slow to respond.

corelibcore corelibcore

💭
I may be slow to respond.
View GitHub Profile
@corelibcore
corelibcore / command crate import.dependencies
Created August 5, 2022 15:07
command crate import dependencies
Y:\assets\root\command>cargo tree
command v21.8.5 (Y:\assets\root\command)
└── tokio v1.20.1 (Y:\assets\root\command\crates\tokio-1.20.1)
├── bytes v1.2.1 (Y:\assets\root\command\crates\bytes-1.2.1)
├── memchr v2.5.0 (Y:\assets\root\command\crates\memchr-2.5.0)
├── mio v0.8.4 (Y:\assets\root\command\crates\mio-0.8.4)
│ ├── log v0.4.17 (Y:\assets\root\command\crates\log-0.4.17)
│ │ └── cfg-if v1.0.0 (Y:\assets\root\command\crates\cfg-if-1.0.0)
│ └── windows-sys v0.36.1
│ └── windows_x86_64_msvc v0.36.1
@corelibcore
corelibcore / lib.rs
Created October 29, 2020 18:10
efi::lib
// TODO: Can we use core::intrinsics (https://doc.rust-lang.org/1.12.0/core/intrinsics/fn.copy.html) instead of compiler_builtins crate?
// TODO: At many places in this crate we're not handling errors well. We're swalling inner errors such as EFI_STATUSes. Fix this situation.
// TODO: can we use #![no_main] here and avoid having to write a main function
#![no_std]
#![recursion_limit="100"] // Needed for the dns module (because it does recursive name resolution)
#![feature(core_panic)]
#![feature(str_internals)] // TODO: this looks very new and unstable. Can we get rid of it?
#![feature(ptr_internals)]
#![feature(link_llvm_intrinsics)]
@corelibcore
corelibcore / gist:7f1f4e5961f14ef724f0fe2cdd916552
Created December 31, 2019 16:14
cargo-xbuild v0.5.19 With compiler-builtins v0.1.21
-----------------------------------------------------------------------------------
Test Of Barebones UEFI App Custom Compiled cargo-xbuild v0.5.19 With compiler-builtins v0.1.21
-----------------------------------------------------------------------------------
C:/Users/Operator/.cargo/bin/cargo.exe +nightly xbuild --release --target x86_64-unknown-uefi
Updating git repository `https://github.com/rust-lang/compiler-builtins`
Updating crates.io index
Compiling core v0.0.0 (C:\Users\Operator\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libcore)
Compiling compiler_builtins v0.1.21 (https://github.com/rust-lang/compiler-builtins?tag=0.1.21#49ad9018)
Compiling rustc-std-workspace-core v1.99.0
(C:\Users\Operator\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\tools\rustc-std-workspace-core)
@corelibcore
corelibcore / README
Created August 20, 2019 06:31
NOSIX Agency
/*
The Agency Of
-----------------------------------------------------------------------------------
The concept of a single root user/multiple restricted permitted users is outdated!
Old System | POSIX, UNIX, WIN, OSX
-----------------------------------------------------------------------------------
ROOT
USER
GUEST