2023-03-30 08:46:31 -05:00
|
|
|
# ignore-cross-compile
|
2022-10-26 16:07:56 -05:00
|
|
|
# ignore-i686-pc-windows-gnu
|
2023-05-02 05:53:09 -05:00
|
|
|
# needs-unwind
|
2022-10-26 16:07:56 -05:00
|
|
|
|
|
|
|
# This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder
|
|
|
|
# so cross-DLL unwinding does not work.
|
|
|
|
|
2022-10-05 17:58:35 -05:00
|
|
|
include ../tools.mk
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(RUSTC) bar.rs --crate-type=cdylib
|
|
|
|
$(RUSTC) foo.rs
|
|
|
|
$(call RUN,foo) 2>&1 | $(CGREP) "Rust cannot catch foreign exceptions"
|