Skip to content

[Bug] Turn off default-features for proptest #1034

Closed

Description

@wraitii

Component

primitives

What version of Alloy are you on?

1.4.1

Operating System

None

Describe the bug

The workspace provides proptest but does not de-activate the default features. alloy-primitives turns it on with feature std, which is relatively common (so often 'on' in large-ish workspaces).
This in turns pulls in rusty-fork, because of the (default, but I think un-necessary) "fork"/"timeout" features of proptest. This pulls in wait-timeout, which fails to compile on non-unix, non-windows systems.

This unfortunately now includes ZkVM guest environments, such as compiling a Risc0 or SP1 guest.

Unsure if just turning default-features off for proptest works, but it should fix the issue.

Edit: mh actually rusty-fork has the issue itself, but that should be fixed in the same way.

Activity

  1. added
    bug
    on Oct 27, 2025
  2. DaniPopes commented on Oct 27, 2025

    @DaniPopes
    Member

    fair enough, it used to not work with default off and "alloc" but that was fixed a long time ago. we should not need default features anyway

  3. 0xSoftBoi commented on Apr 28, 2026

    @0xSoftBoi
    Contributor

    I'd like to take a look at this.

  4. peter941221 commented on May 12, 2026

    @peter941221

    Hi, if @0xSoftBoi isn't actively working on this, I'd be happy to pick it up. I'd keep the PR narrow: disable unnecessary proptest default features, avoid unrelated dependency cleanup, and run the relevant primitives checks.

  5. moved this from Todo to Done in Alloyon May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions