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

dtoa_stubs.js: rename caml_new_string to caml_string_of_jsbytes to avoid deprecation warning #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nojb
Copy link
Contributor

@nojb nojb commented Feb 3, 2025

Recent versions of js_of_ocaml have deprecated the primitive caml_new_string (see 5.9.1 entry in https://github.com/ocsigen/js_of_ocaml/blob/master/CHANGES.md), resulting in warnings like:

image

This PR switches to the new name for the primitive to avoid the warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants