github-actions[bot] commented on Issue #1334:
Subscribe to Label Action
This issue or pull request has been labeled: "wasmtime:api"
<details> <summary>Users Subscribed to "wasmtime:api"</summary>
- @peterhuene
</details>
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
alexcrichton commented on Issue #1334:
Thanks for this!
I might actually differ a bit in a preference of how we go about doing this. I would advocate for a dedicated
Configmethod being added for this which is then called explicitly when fuzzing. That way fuzzing is self-documented in theConfigcreation of the fuzzer and then this is also available to all other users too.
teapotd commented on Issue #1334:
Actually, shouldn't it belong to the
fuzzingcrate? It already creates config with some additional options by default:I think it would be best to make it
puborpub(crate), use it as base for custom configurations in entirefuzzingcreate and enable NaN canonicalization flag here.
teapotd edited a comment on Issue #1334:
Actually, shouldn't it belong to the
fuzzingcrate? It already creates config with some additional options by default:I think it would be best to make it
puborpub(crate), use it as base for custom configurations in entirefuzzingcreate and enable NaN canonicalization flag there.
alexcrichton commented on Issue #1334:
Yeah that's my thinking, we'd have a method on
Configwhich is called by thefuzzingcrate.
teapotd commented on Issue #1334:
No, I meant to have a function that creates appropriate
Configin thefuzzingcrate.fuzz_default_configis already in thefuzzingcrate.
teapotd edited a comment on Issue #1334:
No, I meant to have a function that creates appropriate
Configin thefuzzingcrate.Configis defined inapi.fuzz_default_configis already in thefuzzingcrate.
alexcrichton commented on Issue #1334:
@teapotd yes but the
fuzzingcrate depends on thewasmtimecrate, and needs to call a public method onConfigto enable nan canonicalization. The method needs to be defined in thewasmtimecrate and then thefuzzingcrate would call that.
teapotd commented on Issue #1334:
@alexcrichton Ah, that's what you meant. Thanks!
github-actions[bot] commented on Issue #1334:
Subscribe to Label Action
This issue or pull request has been labeled: "fuzzing"
<details> <summary>Users Subscribed to "fuzzing"</summary>
- @fitzgen
</details>
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
teapotd commented on Issue #1334:
r? @alexcrichton
alexcrichton commented on Issue #1334:
Nice, thanks!
Last updated: Dec 06 2025 at 06:05 UTC