| 1 |
Tests mode-dependent foreign stubs. |
| 2 |
|
| 3 |
$ dune exec ./stubs_exe.exe |
| 4 |
Byte (0) or native (1) ? 1 |
| 5 |
|
| 6 |
$ dune exec ./stubs_exe.bc.exe |
| 7 |
Byte (0) or native (1) ? 0 |
| 8 |
|
| 9 |
$ dune exec ./stubs_lib.exe |
| 10 |
Byte (0) or native (1) ? 42 |
| 11 |
|
| 12 |
$ dune exec ./stubs_lib.bc.exe |
| 13 |
Byte (0) or native (1) ? 0 |