Amaan Qureshi
2d4bb2e371
microfetch: move _start to binary crate, gate entry_rust with cfg(not(test))
2026-04-11 02:53:36 -04:00
Amaan Qureshi
9f7fa83c6b
ci: replace cargo-cross with setup-cross-toolchain-action
2026-04-11 02:53:36 -04:00
Amaan Qureshi
c4b7afbf46
crates/asm: fix aarch64 stack alignment in _start
2026-04-11 02:53:36 -04:00
Amaan Qureshi
1539533c54
build: move link flags to build.rs
...
Binary-specific link flags (-nostartfiles, -static, section stripping)
now use cargo:rustc-link-arg-bin so they don't break proc-macro or
build-script linking. ld-wrapper only strips sections from static
binaries.
2026-04-11 02:53:36 -04:00
Amaan Qureshi
c426e88d99
crates/asm: add bcmp and memcmp for static linking without libc
...
riscv64 codegen emits calls to bcmp for byte comparisons, which is
undefined when linking with -static and no libc. Provide both bcmp
and memcmp implementations alongside the existing memcpy/memset/strlen.
2026-04-11 00:24:36 -04:00
d118e591d0
docs: describe custom logo support; revise 'customizing' section
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6e9b904fcd228aa74119e4c09c486f756a6a6964
2026-03-29 15:04:50 +03:00
8324b35661
lib: collapse print_system_info into single write! call; custom logo support
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I589075f0e4b1629713c872397c602ac66a6a6964
2026-03-29 15:04:39 +03:00
14fc728181
docs: clarify project state after the no_std rework
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib44a2dce66938d1100972a9137c01dff6a6a6964
2026-03-28 08:10:32 +03:00
6ca830125f
Merge pull request #58 from amaanq/fix-ci-rustflags
...
ci: fix
2026-03-28 00:11:25 +03:00
Amaan Qureshi
308ca53dd8
ci: add missing mold linker setup to hotpath-profile workflow
2026-03-27 17:08:33 -04:00
Amaan Qureshi
d49e75b6d2
ci: stop overriding .cargo/config.toml rustflags in CI workflows
2026-03-27 17:08:24 -04:00
3b823a0982
nix: fix
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibdd7b1deaff9489cedcbbc05ce7956d86a6a6964
2026-03-28 00:05:24 +03:00
781de52ca6
build: be more aggressive with linker optimizations; wrap mold
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0e3132ab1499684eda715c3cee9b27a16a6a6964
2026-03-28 00:05:07 +03:00
5ce0f3b1e8
nix: use mold on all Linux targets; fix source filters
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib5925097dd366505d01f9448e7e2ee926a6a6964
2026-03-28 00:05:06 +03:00
d6977bafe5
various: (ab)use the new syscall wrappers and symbols; drop libc entirely
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I19ecd9801cf6e04adcedd3003d9fc59d6a6a6964
2026-03-27 23:48:38 +03:00
0f5fc124da
crates/asm: replicate some libc runtime symbols manually, unsafely
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6df95b1f0a9f117c8e108d8755389a4d6a6a6964
2026-03-27 23:48:26 +03:00
472dbfc7e7
treewide: going no_std
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia1c001eb099ea8cae9bdf76642b873376a6a6964
2026-03-27 21:39:41 +03:00
1b0e3070bb
crates: make assembly helpers no_std
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on riscv64gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1af24924f436b3f552b67f54bad2c02a6a6a6964
2026-03-27 17:24:12 +03:00
325bc7ab5a
Merge pull request #56 from NotAShelf/notashelf/push-kpolspkuxwln
...
treewide: break into multiple crates
2026-03-27 17:19:06 +03:00
77d9c725c7
meta: move benchmarks to dedicated crate
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I753245e75da3a995c622a2c73f77bcb26a6a6964
2026-03-27 17:18:43 +03:00
23e994a8fb
ci: make Mold the default linker
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I36756896731a4df6903fcafea68246c76a6a6964
2026-03-27 16:30:03 +03:00
d8da2218a4
ci: use mold globally; drop clang linker
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iadb9cd4ce33acdd2de585a740ac72da86a6a6964
2026-03-27 16:28:39 +03:00
26c7a9f528
ci: use hotpath-utils for benchmark workflows
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaae187e8320a3642c813ca2095a616056a6a6964
2026-03-27 16:21:07 +03:00
35d0f67812
chore: use clang only on x86_64-unknown-linux-gnu
...
I don't want to configure cargo-cross tbh
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I749bc02bbdf8922fdf7a5904508b8af66a6a6964
2026-03-27 15:33:51 +03:00
0d4377ffca
ci: use cargo-cross for multi-arch testing
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6f5fac0de48162e114976da3aa5adf216a6a6964
2026-03-27 15:21:47 +03:00
1c781aff56
chore: don't benchmark binary crate; centralize assembly helpers
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia24cb1647df93034937a8fcd6cad895c6a6a6964
2026-03-27 14:38:33 +03:00
1408ca9f38
treewide: break into multiple crates
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ifabe7af523ece1354b301b1a321659ee6a6a6964
2026-03-27 13:27:44 +03:00
928452faba
chore: enable explicit ABI for rustfmt
...
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8886d8c13a09231ad45f0a075e1308766a6a6964
2026-03-27 10:35:23 +03:00
b4d3b9203a
microfetch: consume library exports in binary crate
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id6c10efbb185fc44fcf22e6ab5c94a266a6a6964
2026-03-27 10:35:11 +03:00
bf1b319971
Merge pull request #54 from NotAShelf/notashelf/push-ypvyyznuosqk
...
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
various: replace libc invocations with `std::env` and handwritten syscall wrappers
2026-03-26 22:45:22 +03:00
Amaan Qureshi
1dd02def4b
lib: fix aarch64 build by casting UtsNameBuf field pointers to c_char ( #55 )
2026-03-26 22:43:40 +03:00
0c294d348b
various: fix clippy lints
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icbd2ba104c66907208cb37adf0c3915a6a6a6964
2026-03-25 17:10:27 +03:00
a798c5d3e8
chore: drop libc from crate dependencies
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1a4110c5b79f7cbb3a7d964e3a5a80c66a6a6964
2026-03-25 17:07:28 +03:00
99e033c415
system: use std::env::var_os over libc helpers
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2747d4b065095314a1d454a204a251c96a6a6964
2026-03-25 17:07:27 +03:00
17cd7530d6
uptime: construct a raw buffer for the sysinfo syscall; drop libc::sysinfo
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I63887d9f73e6fed670e497086d30d2a46a6a6964
2026-03-25 17:07:26 +03:00
99f7be5aac
microfetch-lib: use home-made syscall wrappers over libc::uname
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I162c771dce2714fa73db3e2e5dc8dcb36a6a6964
2026-03-25 17:07:25 +03:00
f6f1b3003a
syscall: wrap Linux syscalls directly to replace libc
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8bb8f3b2e3966cfa2324c0cf8eb447386a6a6964
2026-03-25 17:07:24 +03:00
72de00771f
desktop: replace libc::getenv with env::var_os
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie94268934435b70bfbcd81e4676600206a6a6964
2026-03-25 17:07:23 +03:00
90ba703506
colors: drop libc invocations for var_os
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I572acd49ef687c8049d43a7ba42bd12c6a6a6964
2026-03-25 17:07:11 +03:00
dependabot[bot]
18a530cf64
chore: bump libc
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.182 to 0.2.183.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.183/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.182...0.2.183 )
---
updated-dependencies:
- dependency-name: libc
dependency-version: 0.2.183
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 14:38:26 +03:00
dependabot[bot]
16ac17f8b6
chore: bump hotpath
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [hotpath](https://github.com/pawurb/hotpath-rs ) from 0.11.0 to 0.13.0.
- [Release notes](https://github.com/pawurb/hotpath-rs/releases )
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pawurb/hotpath-rs/compare/v0.11.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: hotpath
dependency-version: 0.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 14:52:19 +03:00
dependabot[bot]
6eb30c85bf
chore: bump hotpath from 0.10.1 to 0.11.0 ( #49 )
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [hotpath](https://github.com/pawurb/hotpath-rs ) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/pawurb/hotpath-rs/releases )
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pawurb/hotpath-rs/compare/v0.10.1...v0.11.0 )
---
updated-dependencies:
- dependency-name: hotpath
dependency-version: 0.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 15:34:34 +03:00
dependabot[bot]
2020405154
chore: bump actions/download-artifact from 7 to 8 ( #51 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 15:34:22 +03:00
dependabot[bot]
d0a8356aac
chore: bump actions/upload-artifact from 6 to 7 ( #50 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 15:34:09 +03:00
dependabot[bot]
544cb43b26
chore: bump libc
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
2026-02-19 16:25:18 +03:00
3988436fa9
chore: bump dependencies; set MSRV to 1.91.0
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9b88bddb82e8f2d0d4e249cc3a27c61f6a6a6964
2026-02-09 15:34:56 +03:00
f1d0622f84
nix: bump nixpkgs input
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6d90bb5614d2e56cb18ac06cd3d2473f6a6a6964
2026-02-09 15:34:55 +03:00
8a0a9f2649
nix: link with Mold for all Linux platforms
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibed900b7d587278223e6150332aac1dd6a6a6964
2026-02-09 14:58:04 +03:00
dependabot[bot]
d2ae1a9af7
chore: bump hotpath
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [hotpath](https://github.com/pawurb/hotpath ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/pawurb/hotpath/releases )
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pawurb/hotpath/compare/v0.9.2...v0.9.3 )
---
updated-dependencies:
- dependency-name: hotpath
dependency-version: 0.9.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 16:42:14 +03:00
40b10d8bbe
Merge pull request #44 from NotAShelf/dependabot/cargo/libc-0.2.180
...
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
chore(deps): bump libc from 0.2.179 to 0.2.180
2026-01-12 16:10:10 +03:00