Skip to content

Commit 7e05fda

Browse files
authored
Rollup merge of #85967 - atopia:update-l4re-target, r=petrochenkov
add support for the l4-bender linker on the x86_64-unknown-l4re-uclibc tier 3 target This PR contains the work by ```@humenda``` to update support for the `x86_64-unknown-l4re-uclibc` tier 3 target (published at [humenda/rust](https://github.com/humenda/rust)), rebased and adapted to current rust in follow up commits by myself. The publishing of the rebased changes is authorized and preferred by the original author. As the goal was to distort the original work as little as possible, individual commits introduce changes that are incompatible to the newer code base that the changes were rebased on. These incompatibilities have been remedied in follow up commits, so that the PR as a whole should result in a clean update of the target. If you prefer another strategy to mainline these changes while preserving attribution, please let me know.
2 parents 5d4ce26 + a90b2ee commit 7e05fda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

panic_unwind/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ cfg_if::cfg_if! {
3939
} else if #[cfg(target_os = "hermit")] {
4040
#[path = "hermit.rs"]
4141
mod real_imp;
42+
} else if #[cfg(target_os = "l4re")] {
43+
// L4Re is unix family but does not yet support unwinding.
44+
#[path = "dummy.rs"]
45+
mod real_imp;
4246
} else if #[cfg(target_env = "msvc")] {
4347
#[path = "seh.rs"]
4448
mod real_imp;

0 commit comments

Comments
 (0)