Avoid a temporary file when processing macOS fat archives#105221
Avoid a temporary file when processing macOS fat archives#105221bors merged 2 commits intorust-lang:masterfrom
Conversation
its only ever used for wasm targets
| if let Some(new_archive) = try_extract_macho_fat_archive(&self.sess, &archive)? { | ||
| archive = new_archive | ||
| } | ||
| } |
There was a problem hiding this comment.
Maybe we should keep this for now in case we need to revert back from the rust rewrite to the original version on macOS due to a bug in the rust rewrite?
There was a problem hiding this comment.
The LlvmArchiveWriter doesn't have a clean place to add this -- it doesn't track file_range, it just has a path.
There was a problem hiding this comment.
I see. Would you mind waiting a week or so to make sure no issues pop up? r=me after that.
cf81b53 to
bd8e476
Compare
|
@bors r+ |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (dc30b92): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
Avoid a temporary file when processing macOS fat archives r? `@bjorn3`
…esleywiser Fix thin archive reading This includes a revert of rust-lang#105221 to restore fat archive reading with LlvmArchiveBuilder. Should fix rust-lang#107162, rust-lang#107334 and google/shaderc-rs#133
Fix thin archive reading This includes a revert of rust-lang/rust#105221 to restore fat archive reading with LlvmArchiveBuilder. Should fix #107162, #107334 and google/shaderc-rs#133
r? @bjorn3