https://github.com/rizo/dune-melange-virt-issue
https://github.com/rizo/dune-melange-virt-issue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rizo/dune-melange-virt-issue
- Owner: rizo
- Created: 2023-02-17T13:47:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T03:03:08.000Z (over 2 years ago)
- Last Synced: 2025-03-19T22:08:12.039Z (3 months ago)
- Language: Nix
- Homepage: https://github.com/ocaml/dune/issues/7104
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dune-melange-virt-issue
See: https://github.com/ocaml/dune/issues/7104
## Usage
Start a shell (requires [Nix](https://nixos.org/download.html)):
```
$ make shell
```Build the native target:
```
$ dune build
File "src/dune_rules/virtual_rules.ml", line 11, characters 30-37:
Error: No rule found for vlib/.vlib.objs/byte/virt.cmi
File "src/dune_rules/virtual_rules.ml", line 11, characters 30-37:
Error: No rule found for vlib/.vlib.objs/byte/vlib.cmi
File "src/dune_rules/virtual_rules.ml", line 11, characters 30-37:
Error: No rule found for vlib/.vlib.objs/byte/vlib.cmo
File "src/dune_rules/virtual_rules.ml", line 11, characters 30-37:
Error: No rule found for vlib/.vlib.objs/native/vlib.cmx
File "src/dune_rules/virtual_rules.ml", line 11, characters 30-37:
Error: No rule found for vlib/.vlib.objs/native/vlib.o
```Commenting out `(modes melange)` in `vlib/dune`, allows compiling the native target.
Build the melange target:
```
File "vlib/vlib.ml", line 1:
Error: Virt not found, it means either the module does not exist or it is a namespace
```##
```