{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiaasg3kzfwmgfyj33jp3zxegjmgqdwsn45nukg66gs3ow2iehcwaq",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnp7wu7yixk2"
  },
  "path": "/t/compiling-rust-app-with-relibc/24375#post_2",
  "publishedAt": "2026-06-07T09:49:16.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "You'd need to add a new target, `<arch>-unknown-linux-relibc`, set `target_env = \"relibc\"` and then you can use that cfg in the standard library the same way as musl.\n\nThe libc is part of the target.",
  "title": "Compiling rust app with relibc"
}