mxcl
mxcl
DDeno
Created by mxcl on 1/30/2024 in #help
how to avoid deprecation warnings in compiled binaries
$ pkgx --version
warning: Use of deprecated "Deno.stderr.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.isatty()" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.stdin.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
pkgx 1.1.6
$ pkgx --version
warning: Use of deprecated "Deno.stderr.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.isatty()" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
warning: Use of deprecated "Deno.stdin.rid" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
pkgx 1.1.6
What I don’t get is that when I compile it locally I don’t get these warnings. Only in the CI/CD produced binaries. Which means I didn’t see this, but all my users did.
10 replies
DDeno
Created by mxcl on 6/29/2023 in #help
getting errno with ffi
I am using ffi to call execv and need to get the value of errno for failures, but can’t see how I can do that.
15 replies