Skip to content

restricted_std applicability to custom JSON targets #90

Open
@Mark-Simulacrum

Description

@Mark-Simulacrum

In rust-lang/rust#120232, std's build script was moved to using the TARGET_OS and other fine-grained environment variables set by Cargo. This means that some JSON targets (regardless of filename, which is the previous filter?) do not enable the restricted_std mode.

Before stabilizing -Zbuild-std, we will want to figure out what guarantees we want to make here.

cc rust-lang/rust#71009, rust-lang/rust#38338

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan before stabilizationThis needs a plan for how to address before stabilization, but does not need to be implemented.stabilization blockerThis needs a resolution before stabilization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions