[ANN] Dune dev meeting
Hi We are organizing a new public Dune dev meeting on Wednesday, July, 24th at 10am CET. It will be one hour long. Whether you are a maintainer, a regular contributor, a new joiner or just curious,...
View Article[ANN] Dune 3.18
On the behalf of the dune team, I’m glad to announce the release of dune 3.18.0 This release contains changes to support the new x-maintenance-intent field by default. It also contains some changes...
View ArticleDune package management update
Hi fellow camel-wranglers, It has been a bit quiet with updates lately with regards to the Dune package management feature, but it doesn’t mean that the work has stalled. We’re still continuing and...
View ArticleBrowsing offline library documentation in dune projects?
Heya, I’m trying to understand better how I can read documentation from my local project. I tried odig, but it seems to only contain “global” libraries that I’ve installed with opam install. I’d love...
View ArticleProposal: a new `exports` field in `findlib` META files
Proposal: exports field in findlib META files Note: in what follows I use, following dune terminology, the term library names for what is formally ocamlfind package names. Recently I have deprecated a...
View ArticleUnable to instal zlib package
Hello, I set up a MSVC toolchain on a windows 11 system, it’s all running well with 4.14 and after the installation of some packages I ran into problem with the zlib package. It needs a rebuild and my...
View ArticleCan't find import
Took an SML compilers class and I am trying to migrate my SML to OCaml. I have been struggling to get imports to work properly File Structure: lib ├── dune └── middle_end \ ├── absyn.ml \ ├──...
View ArticleUsing dune for umbrella libraries in mdx
I’m trying to use dune to build a collection of small libraries and an umbrella library that re-exports them. So I have this dune-project: (lang dune 3.18) (name dune-umbrella-repro) (version dev)...
View ArticleDune wish list for 2023
How about we all try a slightly less serious discussion about tooling for once. I invite you to respond with a list of most desired features, most hated bugs, and anything else you might like to see...
View ArticleError: Bigstringaf_blit_from_bytes not implemented
I’m experiencing similar issues to that of this post while building my dune project that depends on the angstrom library. node ./_build/default/bin/main.bc.wasm.js...
View Article[BLOG] Using fixture files in OCaml tests with Dune
I have a couple of ongoing side-projects that I use to practice my OCaml every now and then, whenever I have some free time. The other day, I wanted to use fixtures for a test and it took me a while...
View ArticleAlcotest does not run all my tests
I am using alcotest with dune and I am encountering a strange (buggy?) behavior where dune runs twice the same test and fails to run another test. I’m not sure if the problem comes from dune or...
View ArticlePortable Lock Directories for Dune Package Management
We’ve recently made a change to how lock directories work in the Dune Developer Preview. Previously when Dune would solve dependencies for a project and generate a lock directory, the lock directory...
View ArticleDune looking for filenames with strange capital letters
Hello, I have the following dune file : (library (public_name OTP) (libraries cryptokit base32 unix qrc stdint) (name OTP)) (env (dev (flags (:standard -w +42 -warn-error -32 -warn-error -33) ))...
View ArticleDune: Update vs create target
I’d like for dune to Create the Menhir parser.messages file it it does not exist and Update the parser.messages file if it does and my parser.mly has changed. I defined two rules (rule (targets...
View Article[ANN] Dune 3.19
The Dune team is happy to announce the release of dune 3.19.0 This release contains some important bug fixes along with some improvements for the foreign_library stanza. It introduces support for...
View Article[Tutorial] Wrote a Record/Replay Debugging tutorial
I’ve written a tutorial on Record/Replay debugging. If you’re interested in reverse debugging please check it out here. The tutorial teaches you how to record/replay and debug a program using rr.soft...
View ArticleNeed feedback on my basic unit test
open Rezn.Frontend open Yojson.Basic let%expect_test "parsing a minimal pod" = let source = {| pod "x" { image = "nginx" } |} in let prog = parse_string source in let json =...
View ArticleHow to statically link archive files with dune?
How do I statically link some .a files with Dune? How do I write my OCaml bindings to them? Background I’m creating an OCaml libsql client. To interface with libsql, I’m taking the same approach as...
View ArticleExpect magic in ppxlib tests
How does this magic in ppxlib tests work? How does the AST resulting from %stri, etc. make it to stdout? Better yet, how does the loc declaration at line 1 make it to stdout? 2 posts - 2 participants...
View ArticleSound on OCaml on Windows
gridbugs – 2 Jun 25 Sound on OCaml on Windows I got my OCaml music synthesizer working on Windows. Here's all the things that went wrong in the process. 1 post - 1 participant Read full topic
View ArticlePortable External Dependencies for Dune Package Management
Dune lock directories record the names of any system packages needed to build projects or their dependencies. We’ve recently changed how this works in the interest of portability. Background on...
View ArticleHow to get a melange universal library to work?
Hi everyone, I am an OCaml beginner and I’m currently implementing a proof-of-concept full-stack web application with Melange. I’m using dune 3.18.0. The frontend (see lib/frontend) is an Elm-like...
View ArticleMy Introductory post
Hello everyone. I’m Matthew, and an outreachy intern with Dune, and I’ll be contributing this summer and beyond. This is my introductory blog post Medium . Looking forward to an amazing time with this...
View ArticleDune, OxCaml and locking dependencies
I’m trying to build my repo with 0xCaml 5.2. This used to work earlier today but then I re-created the switches and now it doesn’t. How do I figure out where the problem is? This is my dune-project...
View ArticleError while trying to build dune's executable
Dune Build Error on macOS When trying to build dune’s executable in the source code base’s bin/main using this command: dune build bin/main.exe I get this error: spawn_stubs.c:296:13: warning: unused...
View ArticleMy Second Outreachy Internship's Blog Post
Hello everyone, here’s my second internship blog post. In this article, I share the struggles and blockers I faced trying to complete my first tasks: Outreachy Week 3: Everyone Struggles. | by Matthew...
View ArticleBenchmarking across different commits/branches (with dune?)
Hi everyone, I was looking into evaluating the performance of some library I’m writing and I was able to write a dune test comparing it to other libraries fairly easily (with the benchmark package)....
View ArticleQuestions around the test and executable stanzas in dune
I am getting the sense from the documentation of dune that a custom test and an executable are roughly the same things, however I am very puzzled by various differences which make it hard for me to do...
View ArticleMy lsp server stopped working after upgrading dune - need help with better...
My lsp server stopped working sometime ago after upgrading Dune, I couldn’t view or go to some type definitions. When I investigated further, I got this error: The current Merlin configuration has...
View Article