Sets of libraries and tools to write applications and libraries mixing OCaml and Rust. These libraries will help keeping your types and data structures synchronized, and enable seamless exchange between OCaml and Rust
by facebookRust
Last 12 weeks · 129 commits
4 of 6 standards met
Summary: Bump versions and add new Rust third-party crate dependencies needed by ripgrep. Version bumps: 1.0.98 → 1.0.100 1.0 → 1.0.4 0.4.27 → 0.4.28 2.7.5 → 2.7.6 1.0.140 → 1.0.145 New crate dependencies added to Cargo.toml: 1.4.2 0.8.6 0.9.18 0.8.21 1.4.2 0.1.5 0.6.1 (package: tikv-jemalloc-sys) 0.1.34 0.2.10 1.0.23 1.0.6 1.0.228 1.0.1+wasi-0.2.4 0.1.11 0.1.1 0.46.0 Note for OSS projects: if you are reading this from GitHub pull requests, then it does not mean all of these crates will be added or updates, but only some subset that is used in the project. Differential Revision: D93193734
Summary fails to build when two or more zero-argument functions are declared: The zero-argument rule of implemented its wrapper by recursing through the single-argument rule. That rule generates its function with , so the recursively generated helper -- always named -- was exported as a global symbol. With two zero-argument functions two symbols were defined and the build failed during codegen; even a single zero-argument function leaked an exported symbol. This change writes the zero-argument expansion out in full instead of recursing, matching how already handles the zero-argument case. No helper symbol is exported. Single-argument and multi-argument registered functions are unchanged. Test plan Verified against the real macro rules (expanded from in a standalone crate): the existing ocamlpool test invocation plus a second zero-argument function fails to build before this change and builds cleanly after; the symbol is no longer exported. The ocamlpool test now declares and calls a second zero-argument function (, registered from ) as regression coverage.
Summary: X-link: https://github.com/facebook/buck2/pull/1335 X-link: https://github.com/meta-pytorch/monarch/pull/4193 Refreshes 10 third-party Rust crates to their latest semver-compatible versions. These are dependencies used by the hzdb/metavr CLI () that were behind in the shared lockfile; the bumps apply repo-wide since is shared. (additively vendors as a new transitive of ) All are patch/minor (semver-compatible) bumps requiring no first-party code changes. Mirrored the applicable bumps into the github shim manifest () for , , , , , , and . Regenerated with , which also refreshed 255 first-party manifests via autocargo. No first-party Rust source changes were needed. Differential Revision: D107740437
Repository: facebook/ocamlrep. Description: Sets of libraries and tools to write applications and libraries mixing OCaml and Rust. These libraries will help keeping your types and data structures synchronized, and enable seamless exchange between OCaml and Rust Stars: 145, Forks: 28. Primary language: Rust. Languages: Rust (66.7%), Starlark (23.9%), OCaml (5.6%), C (3%), Shell (0.5%). License: MIT. Open PRs: 6, open issues: 0. Last activity: 4h ago. Community health: 75%. Top contributors: chatura-atapattu, JakobDegen, stepancheg, shayne-fletcher, andrewjcg, milend, blackm00n, ndmitchell, cjhopman, rmaz and others.