Skip to content

Commit 65e61f1

Browse files
committed
docs
1 parent a452168 commit 65e61f1

15 files changed

Lines changed: 4863 additions & 1148 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7171
- Support for both `.ds` and `.dust` file extensions
7272
- DPL project structure (sector directories)
7373

74+
#### Host Link and Toolchain Integration
75+
- Host link resolution now prefers `dustlink` for general executable builds, with ordered `lld` fallbacks.
76+
- Bootstrap exception for building `dustlink` itself to avoid recursive self-linking.
77+
- Expanded host runtime shim coverage for Dust-built host tooling workflows (argv/fs/path/string/linker helper intrinsics).
78+
7479
### Changed
7580

7681
- Minimum Rust version updated to support new features
7782
- Default build output directory structure updated
7883
- Error messages improved for new syntax
84+
- `dust kernel-link` is explicitly deprecated in favor of `dust obj` + `dustlink` workflow guidance.
7985

8086
### Fixed
8187

@@ -103,4 +109,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
103109

104110
---
105111

106-
Copyright © 2026 Dust LLC
112+
Copyright © 2026 Dust LLC

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ This repository contains:
1515
- **DPL Specification:** v0.2 (**active development**)
1616
- **Compiler:** v0.2 (**bare-metal and extended feature support**)
1717

18+
### Linker Policy
19+
20+
- Host executable builds prefer `dustlink` as the linker frontend.
21+
- To bootstrap `dustlink` itself, the compiler bypasses `dustlink` and falls back to `lld` paths (`-fuse-ld=lld`, `rust-lld`, `ld.lld`) before the driver default linker.
22+
- `dust kernel-link` remains available but is deprecated; use `dust obj` + `dustlink`.
23+
1824
### What Works Today (v0.2)
1925

2026
The compiler supports multiple output modes:
@@ -115,7 +121,8 @@ cargo run -p dust -- obj mymodule.ds -o mymodule.o
115121

116122
### Build + link a multi-object bare-metal kernel
117123
```bash
118-
cargo run -p dust -- kernel-link xdv-kernel/sector/xdv_kernel/src xdv-runtime/src xdv-xdvfs/src --entry main -o target/dust/xdv-kernel.bin
124+
cargo run -p dust -- obj xdv-kernel/sector/xdv_kernel/src xdv-runtime/src xdv-xdvfs/src --target x86_64-pc-none-elf --out-dir target/dust/kernel_objs
125+
dustlink --oformat=binary --image-base 0x100000 -Ttext 0x100000 -e _dust_kernel_start -o target/dust/xdv-kernel.bin target/dust/kernel_objs/*.o
119126
```
120127

121128
---

0 commit comments

Comments
 (0)