roc/crates/cli/tests/platform-switching
Anton-4 979d27ed05
update paths
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-05 11:15:39 +02:00
..
c-platform Merge branch 'main' into auto-snake-case 2025-01-08 01:51:12 -08:00
rust-platform Merge branch 'main' into auto-snake-case 2025-01-08 01:51:12 -08:00
web-assembly-platform update paths 2025-05-05 11:15:39 +02:00
zig-platform Merge branch 'main' into auto-snake-case 2025-01-08 01:51:12 -08:00
README.md snake_case-ify all remaining camelCase names in hiding (#7561) 2025-02-05 16:05:03 +01:00
roc_loves_c.roc snake_case-ify all remaining camelCase names in hiding (#7561) 2025-02-05 16:05:03 +01:00
roc_loves_rust.roc snake_case-ify all remaining camelCase names in hiding (#7561) 2025-02-05 16:05:03 +01:00
roc_loves_web_assembly.roc snake_case-ify all remaining camelCase names in hiding (#7561) 2025-02-05 16:05:03 +01:00
roc_loves_zig.roc snake_case-ify all remaining camelCase names in hiding (#7561) 2025-02-05 16:05:03 +01:00

Platform switching

To run, cd into this directory and run this in your terminal:

roc --build-host --suppress-build-host-warning roc_loves_c.roc

About these examples

They use a very simple platform which does nothing more than printing the string you give it.

If you want to start building your own platforms, these are some very simple example platforms to use as starting points.