Commit graph

2 commits

Author SHA1 Message Date
Simon Hausmann
80593b4f71
Revert the use of enums in the printer demo (#4778)
This reverts commit 060f63ad56, as it broke the C++ interpreted demo and makes it impossible to implement the demo "fully" in JavaScript and Python.

cc #4777
2024-03-06 18:54:33 +01:00
Olivier Goffart
b236d2d06e Examples: make both a lib and a bin by default
Note that the trick to use the same file for both was not ideal because
it produces a warning and would compile it twice if it was by default.
So just make both a lib.rs and a main.rs
2024-02-22 09:02:06 +01:00