{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiek3d2ftmf7g4h64of47ibdahdlcqalti2kkgyurvkyeorrra7wxu",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mms2t4gsyty2"
  },
  "path": "/t/pre-rfc-guarantee-that-pointers-to-osstr-has-the-same-layout-as-pointers-to-str-u8/24354#post_3",
  "publishedAt": "2026-05-26T22:38:41.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "May I ask why not? I discussed the proposal with some folks in the RPLC Discord server, and the only plausible issue that came up was if a future implementation wanted to store locale information in the pointer metadata, but given that every `str` must be an `OsStr`, I'm not convinced that this would be a worthwhile endeavor.",
  "title": "Pre-RFC: Guarantee that pointers to `OsStr` has the same layout as pointers to `str`/`[u8]`"
}