Commit Graph

6 Commits

Author SHA1 Message Date
portersky d5728334d6 feat: generate rust-project.json for LSP
Add a CMake module that writes rust-project.json on every configure so
rust-analyzer can resolve the no-Cargo crate layout, sysroot crates,
and proc-macro attributes without Cargo.

Co-Authored-By: qwen (lmstudio/qwen3.8-27b@q3_k_xl): LSP setup
2026-09-05 05:29:23 +02:00
portersky c3a7680e36 docs: note why native CMake Rust is skipped
CMake 4.4's experimental Rust support compiles each source as its own
crate, links libraries into executables as native .lib inputs instead
of --extern, and has no proc-macro crate type. Keep direct rustc.

Co-Authored-By: qwen (lmstudio/qwen3.8-27b@q3_k_xl): documented decision
2026-09-05 05:17:16 +02:00
portersky b7f9fefd78 feat: add loading animation example
Add a busy-wait sleep on a monotonic clock and re-export String,
format!, and Duration from the library. The example animates a
progress bar with a spinner and logs each step in a Vec<String>.

Co-Authored-By: qwen (lmstudio/qwen3.8-27b@q3_k_xl): wrote example
2026-09-05 05:09:50 +02:00
portersky cd1c9ab97d docs: add project README
Document the no_std library layout, CMake build flow, platform runtime
behavior, and the async entry macro.

Co-Authored-By: qwen (lmstudio/qwen3.8-27b@q3_k_xl): wrote README
2026-09-05 05:01:34 +02:00
portersky 812278a22f feat: add no-std common runtime
Add an alloc-backed common library with direct platform I/O.

Build a host attribute macro for async entry points and keep runtime
boilerplate outside application code. Compile the library, macro, and
example directly with rustc through CMake.

Co-Authored-By: luna (openrouter/openai/gpt-5.6-luna): runtime work
2026-09-05 04:48:25 +02:00
portersky 54051d4068 Initial commit
Add a minimal no-core Rust executable built by invoking rustc directly from CMake.

The project avoids Cargo and Rust core, alloc, and std, writes to stdout
through platform APIs, and supports optimized Ninja release builds.

Co-Authored-By: luna (openrouter/openai/gpt-5.6-luna): project setup and build
2026-09-05 04:32:27 +02:00