Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg: add repro for gh11375 #11376

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions test/blackbox-tests/test-cases/pkg/e2e.t
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@ Lock, build, and run the executable in the project:
- foo.0.0.1
$ dune exec bar
Hello, World!

Rebuild the executable, this time in the release profile:
$ dune clean
$ dune exec --release bar
File "dune", line 3, characters 12-15:
3 | (libraries foo))
^^^
Error: Library "foo" not found.
-> required by _build/default/.bar.eobjs/byte/dune__exe__Bar.cmi
-> required by _build/default/.bar.eobjs/native/dune__exe__Bar.cmx
-> required by _build/default/bar.exe
-> required by _build/install/default/bin/bar
[1]
Loading