Commits on Source (2477)
Showing
- .editorconfig 7 additions, 0 deletions.editorconfig
- .gitignore 9 additions, 1 deletion.gitignore
- .gitlab-ci.yml 58 additions, 0 deletions.gitlab-ci.yml
- .gitmodules 12 additions, 10 deletions.gitmodules
- .travis.yml 0 additions, 11 deletions.travis.yml
- .vscode/settings.json 3 additions, 0 deletions.vscode/settings.json
- CONTRIBUTING.md 123 additions, 0 deletionsCONTRIBUTING.md
- Cargo.lock 394 additions, 403 deletionsCargo.lock
- Cargo.toml 67 additions, 17 deletionsCargo.toml
- Makefile 265 additions, 0 deletionsMakefile
- README.md 177 additions, 2 deletionsREADME.md
- build.rs 36 additions, 0 deletionsbuild.rs
- cbindgen 0 additions, 1 deletioncbindgen
- cbindgen.globdefs.toml 24 additions, 0 deletionscbindgen.globdefs.toml
- ci.sh 8 additions, 3 deletionsci.sh
- dlmalloc-rs 1 addition, 0 deletionsdlmalloc-rs
- fmt.sh 2 additions, 8 deletionsfmt.sh
- generic-rt/Cargo.toml 6 additions, 0 deletionsgeneric-rt/Cargo.toml
- generic-rt/src/lib.rs 128 additions, 0 deletionsgeneric-rt/src/lib.rs
- include/alloca.h 6 additions, 0 deletionsinclude/alloca.h
Some changes are not shown.
For a faster browsing experience, only 20 of 1000+ files are shown.
.editorconfig
0 → 100644
.gitlab-ci.yml
0 → 100644
.travis.yml
deleted
100644 → 0
.vscode/settings.json
0 → 100644
CONTRIBUTING.md
0 → 100644
This diff is collapsed.
[package] | ||
name = "relibc" | ||
version = "0.1.0" | ||
version = "0.2.5" | ||
authors = ["Jeremy Soller <jackpot51@gmail.com>"] | ||
edition = "2021" | ||
[lib] | ||
name = "c" | ||
name = "relibc" | ||
crate-type = ["staticlib"] | ||
[workspace] | ||
members = ["src/crt0"] | ||
members = [ | ||
"src/crt0", | ||
"src/crti", | ||
"src/crtn", | ||
"redox-rt", | ||
"ld_so", | ||
"generic-rt", | ||
] | ||
exclude = ["tests", "dlmalloc-rs"] | ||
[build-dependencies] | ||
cc = "1" | ||
[dependencies] | ||
compiler_builtins = { git = "https://github.com/rust-lang-nursery/compiler-builtins.git", default-features = false, features = ["mem"] } | ||
platform = { path = "src/platform" } | ||
ctype = { path = "src/ctype" } | ||
errno = { path = "src/errno" } | ||
fcntl = { path = "src/fcntl" } | ||
grp = { path = "src/grp" } | ||
semaphore = { path = "src/semaphore" } | ||
mman = { path = "src/mman" } | ||
stat = { path = "src/stat" } | ||
stdio = { path = "src/stdio" } | ||
stdlib = { path = "src/stdlib" } | ||
string = { path = "src/string" } | ||
unistd = { path = "src/unistd" } | ||
wctype = { path = "src/wctype" } | ||
bitflags = "2" | ||
cbitset = "0.2" | ||
posix-regex = { path = "posix-regex", features = ["no_std"] } | ||
# TODO: For some reason, rand_jitter hasn't been updated to use the latest rand_core | ||
rand = { version = "0.8", default-features = false, features = ["small_rng"] } | ||
rand_xorshift = "0.3" | ||
rand_jitter = "0.4" | ||
memchr = { version = "2.2.0", default-features = false } | ||
plain = "0.2" | ||
unicode-width = "0.1" | ||
__libc_only_for_layout_checks = { package = "libc", version = "0.2.149", optional = true } | ||
md5-crypto = { package = "md-5", version = "0.10.6", default-features = false } | ||
sha-crypt = { version = "0.5", default-features = false } | ||
base64ct = { version = "1.6", default-features = false, features = ["alloc"] } | ||
bcrypt-pbkdf = { version = "0.10", default-features = false, features = [ | ||
"alloc", | ||
] } | ||
scrypt = { version = "0.11", default-features = false, features = ["simple"] } | ||
pbkdf2 = { version = "0.12", features = ["sha2"] } | ||
sha2 = { version = "0.10", default-features = false } | ||
generic-rt = { path = "generic-rt" } | ||
chrono-tz = {version = "0.10", default-features = false} | ||
chrono = {version = "0.4", default-features = false, features = ["alloc"]} | ||
libm = "0.2" | ||
object = { version = "0.36.7", git = "https://gitlab.redox-os.org/andypython/object", default-features = false, features = ["elf", "read_core"] } | ||
spin = "0.9.8" | ||
[dependencies.dlmalloc] | ||
path = "dlmalloc-rs" | ||
default-features = false | ||
features = ["c_api"] | ||
[target.'cfg(target_os = "linux")'.dependencies] | ||
sc = "0.2.3" | ||
[target.'cfg(target_os = "redox")'.dependencies] | ||
redox_syscall = "0.5.8" | ||
redox-rt = { path = "redox-rt" } | ||
redox-path = "0.2" | ||
redox_event = { git = "https://gitlab.redox-os.org/redox-os/event.git", default-features = false, features = [ | ||
"redox_syscall", | ||
] } | ||
[features] | ||
default = ["check_against_libc_crate"] | ||
trace = [] | ||
check_against_libc_crate = ["__libc_only_for_layout_checks"] | ||
[profile.dev] | ||
panic = "abort" | ||
[profile.release] | ||
panic = "abort" | ||
[patch.crates-io] | ||
cc-11 = { git = "https://github.com/tea/cc-rs", branch = "riscv-abi-arch-fix", package = "cc" } |
Makefile
0 → 100644
build.rs
0 → 100644
cbindgen.globdefs.toml
0 → 100644
generic-rt/Cargo.toml
0 → 100644
generic-rt/src/lib.rs
0 → 100644
include/alloca.h
0 → 100644