{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreico5adfgtdh53eofjp2owqcfljelssdmiv4u5xcbkkraury4wh4ky",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mphnp3wgb772"
  },
  "path": "/t/code-compiles-on-playground-but-fails-when-passed-via-stdin-to-rustc/24393?page=2#post_33",
  "publishedAt": "2026-06-29T18:07:58.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "Did you try when set via `CARGO_UNSTABLE_ALLOW_FEATURES` too? That’s probably the more common interface to the functionality now that it exists, and that’s what I’ve been running into a lot of buggy probe handling for recently.\n\n(And it’s kind of an eternal fact that every time the interface for this sort of thing improves, build scripts will fail to handle it because they’re kind of fail open, instead of fail closed; I remember long ago when none handled RUSTFLAGS correctly either).",
  "title": "Code compiles on playground but fails when passed via stdin to rustc"
}