<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_interface/src/interface.rs, branch 1.74.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.74.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.74.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-22T20:15:34+00:00</updated>
<entry>
<title>Merge `ExternProviders` into the general `Providers` struct</title>
<updated>2023-09-22T20:15:34+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-09-22T16:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ed4913e67cab329bd3cca92dff1cf558cc3575e'/>
<id>urn:sha1:4ed4913e67cab329bd3cca92dff1cf558cc3575e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Have a single struct for queries and hook</title>
<updated>2023-09-22T16:26:20+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-09-22T16:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ba911c8329a4a8b6697cc6a25c02f0f06d58d8d'/>
<id>urn:sha1:2ba911c8329a4a8b6697cc6a25c02f0f06d58d8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing Debuginfo to PDB debug file on windows.</title>
<updated>2023-09-07T22:28:40+00:00</updated>
<author>
<name>Florian Schmiderer</name>
<email>florian.schmiderer@posteo.net</email>
</author>
<published>2023-07-03T11:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4cdc633301e3c760fb36470afc216a9e09351fa3'/>
<id>urn:sha1:4cdc633301e3c760fb36470afc216a9e09351fa3</id>
<content type='text'>
Set Arg0 and CommandLineArgs in MCTargetoptions so LLVM outputs correct CL and CMD in LF_DEBUGINFO instead of empty/invalid values.
</content>
</entry>
<entry>
<title>On nightly, dump ICE backtraces to disk</title>
<updated>2023-07-19T14:10:07+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-03-03T22:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8eb5843a592afbee8ae5352828f8f0b74034b9e0'/>
<id>urn:sha1:8eb5843a592afbee8ae5352828f8f0b74034b9e0</id>
<content type='text'>
Implement rust-lang/compiler-team#578.

When an ICE is encountered on nightly releases, the new rustc panic
handler will also write the contents of the backtrace to disk. If any
`delay_span_bug`s are encountered, their backtrace is also added to the
file. The platform and rustc version will also be collected.
</content>
</entry>
<entry>
<title>Auto merge of #113606 - jyn514:parallel-compiler-cleanup, r=cjgillot</title>
<updated>2023-07-15T22:23:05+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-07-15T22:23:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4124617c6ebe6b5b4df2c8c8400e87389c377dcc'/>
<id>urn:sha1:4124617c6ebe6b5b4df2c8c8400e87389c377dcc</id>
<content type='text'>
Don't require each rustc_interface tool to opt-in to parallel_compiler

Previously, forgetting to call `interface::set_thread_safe_mode` would cause the following ICE:
```
thread 'rustc' panicked at 'uninitialized dyn_thread_safe mode!', /rustc/dfe0683138de0959b6ab6a039b54d9347f6a6355/compiler/rustc_data_structures/src/sync.rs:74:18
```

This calls `set_thread_safe_mode` in `interface::run_compiler` to avoid requiring it in the caller.

Fixes `tests/run-make-fulldeps/issue-19371` when parallel-compiler is enabled.

r? `@SparrowLii` cc https://github.com/rust-lang/rust/issues/75760
</content>
</entry>
<entry>
<title>Re-format let-else per rustfmt update</title>
<updated>2023-07-13T01:49:27+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2023-07-13T01:49:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc907f80b95c6ec530c5ee1b05b044a468f07eca'/>
<id>urn:sha1:cc907f80b95c6ec530c5ee1b05b044a468f07eca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't require each rustc_interface tool to opt-in to parallel_rustc support</title>
<updated>2023-07-12T03:55:23+00:00</updated>
<author>
<name>jyn</name>
<email>github@jyn.dev</email>
</author>
<published>2023-07-12T03:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d52eb4f99aebfb1077063c9e65c365e550eb1fb2'/>
<id>urn:sha1:d52eb4f99aebfb1077063c9e65c365e550eb1fb2</id>
<content type='text'>
Previously, forgetting to call `interface::set_thread_safe_mode` would cause the following ICE:
```
thread 'rustc' panicked at 'uninitialized dyn_thread_safe mode!', /rustc/dfe0683138de0959b6ab6a039b54d9347f6a6355/compiler/rustc_data_structures/src/sync.rs:74:18
```

This calls `set_thread_safe_mode` in `interface::run_compiler` to avoid requiring it in the caller.

Fixes `tests/run-make-fulldeps/issue-19371` when parallel-compiler is enabled.
</content>
</entry>
<entry>
<title>Auto merge of #112708 - flip1995:clippy-freezing-pc-with-ice, r=oli-obk</title>
<updated>2023-06-28T09:40:07+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-06-28T09:40:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8882507bc7dbad0cc0548204eb8777e51ac92332'/>
<id>urn:sha1:8882507bc7dbad0cc0548204eb8777e51ac92332</id>
<content type='text'>
Avoid calling queries during query stack printing

This has the side effect, that when Clippy should ICE (during an EarlyPass?) it will fill up the RAM with 2 GB/s and then freezes my Laptop. This is blocking the Clippy sync and might give some people really bad experiences, so this should be merged ASAP.

r? `@cjgillot`
cc `@Zoxc`

I only commented this on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.60try_print_query_stack.60.20has.20.60ImplicitCtx.60.20during.20.60EarlyPass.60/near/363926180). I should've left a comment on the PR as well. My bad.
</content>
</entry>
<entry>
<title>Provide more context for `rustc +nightly -Zunstable-options` on stable</title>
<updated>2023-06-27T15:23:33+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2023-06-22T21:56:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cef812bd958d5037224aebe3721f3ffc9c80965e'/>
<id>urn:sha1:cef812bd958d5037224aebe3721f3ffc9c80965e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid calling queries during query stack printing</title>
<updated>2023-06-27T14:12:07+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-06-27T09:07:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0142f603dd171dccf822a868284c93b8f6f6f91'/>
<id>urn:sha1:b0142f603dd171dccf822a868284c93b8f6f6f91</id>
<content type='text'>
</content>
</entry>
</feed>
