about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-12 08:13:26 +0100
committerGitHub <noreply@github.com>2023-03-12 08:13:26 +0100
commitb16ed694f7967d1381da5b43085dfbce2f1de723 (patch)
treea66e3c0b83c47e661cbacf72499023dc260def18 /compiler/rustc_codegen_gcc
parent9668ae5eb8b169557a12d85e4088274780ef7d48 (diff)
parent63396b30cf6e4f9148c7af8a21727b4d2109b632 (diff)
downloadrust-b16ed694f7967d1381da5b43085dfbce2f1de723.tar.gz
rust-b16ed694f7967d1381da5b43085dfbce2f1de723.zip
Rollup merge of #108797 - thomcc:sourcemap_include_binary_file, r=compiler-errors
Allow binary files to go through the `FileLoader`

I'd like for `include_bytes!` to go through the `FileLoader` in an out-of-tree `rustc_driver` wrapper, and I can't find a reason it's not already done. It seems like most folks providing a custom `FileLoader` would want this too, so I added it.

I can solve my problem in other ways if there's a strong reason not to do it, but it seems simple and harmless.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions