Separate always-linked runtime code (system.pas, ARC, strings, platform abstraction) from opt-in standard library units (sysutils, classes, math, dateutils, generics, etc.). This mirrors the Go runtime/ vs stdlib, Rust core vs std, and Swift SwiftRuntime vs SwiftCore patterns. - runtime/ contains code linked into every binary + C shims - stdlib/ contains units imported explicitly via uses clause - Single platform abstraction layer (rtl.platform.*) in runtime/, shared by both runtime/ and stdlib/ units - bcl.testing renamed to blaise.testing across all 95+ test files - Updated PasBuild project.xml, fixpoint.sh, README, unit search paths - All 1931 tests pass, fixpoint OK (stage-3/stage-4)
18 lines
452 B
XML
18 lines
452 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project>
|
|
<name>blaise-runtime</name>
|
|
|
|
<build>
|
|
<packaging>library</packaging>
|
|
<!-- mainSource not needed — PasBuild auto-generates bootstrap -->
|
|
<!-- System.pas is compiled by Blaise, not FPC; FPC already provides System implicitly -->
|
|
<bootstrapExclude>
|
|
<unit>System</unit>
|
|
</bootstrapExclude>
|
|
</build>
|
|
|
|
<test>
|
|
<testSource>testpunit2.pas</testSource>
|
|
</test>
|
|
</project>
|