)]}'
{
  "commit": "de5f3dd74612bb8091e2ed8fe4b96319f4b24ec2",
  "tree": "bf7b98e0a348e29c6b48db6d5975ccc6fffcfc39",
  "parents": [
    "139ddaffc536948e79346380382bdb3d4bf20aa6",
    "d0c3225dc776dc3d94da0942ccf94d30742a87de"
  ],
  "author": {
    "name": "Jacob Pratt",
    "email": "jacob@jhpratt.dev",
    "time": "Mon Jul 06 04:33:08 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 06 04:33:08 2026 -0400"
  },
  "message": "Rollup merge of #158775 - valentynkit:bootstrap-readable-rustflags, r\u003dMark-Simulacrum\n\nbootstrap: only encode RUSTFLAGS when a flag contains a space\n\nFixes rust-lang/rust#158749\n\nSince rust-lang/rust#158073, bootstrap passes rustc and rustdoc flags to cargo through `CARGO_ENCODED_RUSTFLAGS` / `CARGO_ENCODED_RUSTDOCFLAGS`, whose values are `\\x1f`-separated. When a command fails and gets debug-printed, that separator shows up as `\\u{1f}`, e.g.:\n\n```\nCARGO_ENCODED_RUSTDOCFLAGS\u003d\"--cfg\u003dwindows_raw_dylib\\u{1f}-Csymbol-mangling-version\u003dv0\\u{1f}...\"\n```\n\nwhich isn\u0027t a valid escape in bash/zsh, so the printed command can\u0027t be copy-pasted.\n\nThe encoded form is only needed when a flag value contains a space (the case rust-lang/rust#158073 fixed, e.g. an `-L` path from `llvm-config --libdir` under a directory whose name has a space). Cargo splits `RUSTFLAGS` on spaces, so when no flag contains one the plain, space-separated `RUSTFLAGS`/`RUSTDOCFLAGS` form is equivalent and stays readable. This uses the plain form in that case and only falls back to the encoded form when a flag actually contains a space.\n\nIt also clears any inherited `CARGO_ENCODED_RUSTFLAGS`/`CARGO_ENCODED_RUSTDOCFLAGS`, since cargo prefers the encoded variable over the plain one and the plain form would otherwise be ignored.\n\nr? @Mark-Simulacrum\n",
  "tree_diff": []
}
