Skip to content

[stdlib] Splitting prelude #965

@mbouaziz

Description

@mbouaziz

I'm again encountering the issue of something compiling fine locally but failing on the CI because it is using a different stdlib.

IIRC, the plan was to split the prelude into:

  • intrinsics: declaration of functions that the compiler knows, sk files + the llvm preamble (must be distributed with the toolchain and we must use that version rather than the local one)
  • runtime: what compiled programs will be linked with to run, .a file (same)
    • both will be added to the bootstrap and can be combined as an sklib file
  • stdlib: just a bunch of sk files

Anything against this plan?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions