Commit graph

236 commits

Author SHA1 Message Date
raf
6c7bc1bee2
Merge pull request #66 from amaanq/arch
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on armv7-unknown-linux-gnueabihf (push) Has been cancelled
Rust / Test on i686-unknown-linux-gnu (push) Has been cancelled
Rust / Test on loongarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc64le-unknown-linux-gnu (push) Has been cancelled
Rust / Test on riscv64gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on s390x-unknown-linux-gnu (push) Has been cancelled
Rust / Test on sparc64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on mips-unknown-linux-gnu (push) Has been cancelled
Rust / Test on mips64-unknown-linux-gnuabi64 (push) Has been cancelled
Rust / Test on riscv32gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
arch: add loongarch64, s390x, powerpc64, powerpc, armv7, riscv32, sparc64, sparc32, mips64, mips32, and i686 support
2026-04-22 01:51:21 +03:00
Amaan Qureshi
fb245bb5ee
asm: bump MSRV to 1.95 and collapse arch dispatch with cfg_select! 2026-04-18 19:51:15 -04:00
Amaan Qureshi
277eec55b0
arch: add mips32 support 2026-04-18 19:35:11 -04:00
Amaan Qureshi
205e637d89
arch: add sparc32 support 2026-04-18 19:35:11 -04:00
Amaan Qureshi
7bbc47eb9f
arch: add powerpc32 support 2026-04-18 19:35:11 -04:00
Amaan Qureshi
a6fab02586
arch: add i686 support 2026-04-18 19:35:11 -04:00
Amaan Qureshi
950d9f4d2c
arch: add mips64 support 2026-04-18 19:35:11 -04:00
Amaan Qureshi
1b4dcf4a1a
arch: add sparc64 support 2026-04-18 19:35:11 -04:00
Amaan Qureshi
0f95ca0f68
arch: add riscv32 support 2026-04-18 19:35:10 -04:00
Amaan Qureshi
07239e2c0b
arch: add armv7 support 2026-04-18 19:35:10 -04:00
Amaan Qureshi
03e6d1f4cf
arch: add powerpc64 support 2026-04-18 19:35:10 -04:00
Amaan Qureshi
05fc3d8df9
arch: add s390x support 2026-04-18 18:34:08 -04:00
Amaan Qureshi
ce7a8553a8
arch: add loongarch64 support 2026-04-18 18:33:43 -04:00
Amaan Qureshi
e77976b94b
asm: extract per-arch syscall impls into separate modules
The monolithic lib.rs had grown to 2600+ lines of `#[cfg(target_arch)]`
blocks interleaved inside every `sys_*` function. Reading or modifying one
arch's syscalls meant scrolling past thirteen others. Pull each arch's asm
into `<arch>.rs`, re-exported via a single `#[cfg] #[path] mod arch;` so
`lib.rs` only contains wrappers, structs, and module dispatch. Adding a new
architecture now touches one new file plus one three-line mod decl.
2026-04-18 18:31:49 -04:00
raf
136d5bcb58
Merge pull request #64 from NotAShelf/dependabot/cargo/hotpath-0.15.0
Some checks failed
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
build: bump hotpath from 0.14.1 to 0.15.0
2026-04-16 08:56:18 +03:00
543a1597ba
chore: tag 1.1.0 1.1.0
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7c449dd2dd4ae66a450177a7ad07250b6a6a6964
2026-04-16 08:18:14 +03:00
raf
09b9398938
Merge pull request #65 from amaanq/pipe-fix
cpu: add CPU info with model name, core/thread counts, and P/E detection
2026-04-16 08:11:19 +03:00
Amaan Qureshi
9712430fc2
lib: restore separator pipe between label and value 2026-04-15 11:18:20 -04:00
Amaan Qureshi
a41511a3b4
lib: switch to braille NixOS logo, split CPU into name + cores 2026-04-15 11:18:19 -04:00
Amaan Qureshi
e434985d00
cpu: add CPU info with model name, core/thread counts, and P/E detection 2026-04-15 11:18:19 -04:00
dependabot[bot]
93b7af0da8
chore: bump hotpath from 0.14.1 to 0.15.0
Bumps [hotpath](https://github.com/pawurb/hotpath-rs) from 0.14.1 to 0.15.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.14.1...v0.15.0)

---
updated-dependencies:
- dependency-name: hotpath
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 11:39:59 +00:00
b385714d88
build: make 'microfetch' crate publishable; bump hotpath
Some checks failed
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: I70d4385edb8ec8fe94bb7742177686846a6a6964
2026-04-13 09:21:20 +03:00
3f900f1c40
chore: tag 1.0.0
Some checks failed
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
1.0.0
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0b7d16764473de5b8e050d1b6cb30a4d6a6a6964
2026-04-11 10:23:48 +03:00
45545c8854
scripts/ld-wrapper: fix typo
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3ee0ef703eec1a52b750a2ee8b4d33216a6a6964
2026-04-11 10:21:02 +03:00
3aa6cc9ea6
docs: fix typo & file path for main module in README
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I98117d029b48fd117d593759f03cca036a6a6964
2026-04-11 10:21:01 +03:00
raf
bf25c77b8f
Merge pull request #57 from NotAShelf/notashelf/push-pynzzylozqql
NO MORE STDS!!!!!
2026-04-11 10:19:12 +03:00
raf
33c993d718
Merge pull request #63 from amaanq/fix-ci-cross-builds
crates/asm: add bcmp and memcmp for static linking without libc
2026-04-11 10:15:38 +03:00
Amaan Qureshi
bcc3f2ab96
ci: run tests on all platforms 2026-04-11 03:02:19 -04:00
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
raf
f78e03264f
Merge pull request #61 from NotAShelf/dependabot/github_actions/actions/upload-artifact-7
Some checks failed
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
chore: bump actions/upload-artifact from 4 to 7
2026-03-30 14:46:59 +03:00
raf
790be5a8e5
Merge pull request #60 from NotAShelf/dependabot/github_actions/actions/download-artifact-8
chore: bump actions/download-artifact from 4 to 8
2026-03-30 14:46:32 +03:00
raf
7dea8777b8
Merge pull request #59 from NotAShelf/dependabot/github_actions/actions/checkout-6
chore: bump actions/checkout from 4 to 6
2026-03-30 14:38:24 +03:00
dependabot[bot]
b22148c2c4
chore: bump actions/upload-artifact from 4 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...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>
2026-03-30 11:33:49 +00:00
dependabot[bot]
996c851b21
chore: bump actions/download-artifact from 4 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...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>
2026-03-30 11:33:46 +00:00
dependabot[bot]
8aa2c38a2b
chore: bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 11:33:43 +00: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
raf
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