Magnus

Results 94 comments of Magnus

Thanks for the tests! Yes, the output is expected.

The pipeline complains [on windows](https://github.com/rusterlium/rustler/actions/runs/3430319662/jobs/5718746960): ``` error[E0433]: failed to resolve: could not find `unix` in `os` --> rustler_tests\native\dynamic_load\src/lib.rs:2:47 Warning: | 2 | use std::{ffi::OsStr, fs::read_to_string, os::unix::prelude::OsStrExt, path::PathBuf}; | ^^^^ could...

> Should I fix it for windows or figure out something different? I think fixing it for windows is sufficient. We have runners for linux, macos and windows, it suffices...

> Does anyone here have any experience with how upgrades work? Does the library get new "static" memory space or is it reusing the old memory? We have a long-standing...

Closing in favor of https://github.com/rusterlium/rustler/issues/200.

@aj-foster Integrating `serde_rustler` would be nice! Would you like to prepare a pull request for vendoring it in? Would that be ok with @sunny-g ?

@aj-foster good question on the steps. Lets keep it simple for now and start with vendoring `serde_rustler` into the repository. That also means checking the links in `serde_rustler` to ensure...

``` (proper 1.4.0) /Users/amosking/workspace/my/deps/proper/src/proper_arith.erl:303: :proper_arith.rand_non_neg_float/1 ``` For this to be called with `undefined`, the `Size` parameter of `integer_gen/3` needs to be set to `undefined`: ``` %% I picked the clause...

I can produce a similar crash with this example: ```elixir defmodule BlablaTest do use ExUnit.Case use PropCheck property "boom" do gen = let x

> Should produce be in another module that is only for playing in a console? That's a good idea! Detecting "improper" use of `produce` is hard, but we can at...