From a71fe55bada4cf63facbf654c927e90f6d71c993 Mon Sep 17 00:00:00 2001 From: Julian Frimmel Date: Tue, 15 Oct 2024 23:07:00 +0200 Subject: [PATCH] Don't link the artifact to not depend on `avr-gcc` This fixes the [build error] caused by the `avr-gcc` (used as linker) not being available in the Rust CI. [build error]: https://github.com/rust-lang/rust/pull/131755#issuecomment-2415127952 --- tests/run-make/avr-rjmp-offset/avr-rjmp-offsets.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run-make/avr-rjmp-offset/avr-rjmp-offsets.rs b/tests/run-make/avr-rjmp-offset/avr-rjmp-offsets.rs index a0c6409b1bc0d..cd32707596b2d 100644 --- a/tests/run-make/avr-rjmp-offset/avr-rjmp-offsets.rs +++ b/tests/run-make/avr-rjmp-offset/avr-rjmp-offsets.rs @@ -5,6 +5,7 @@ #![feature(no_core, lang_items, intrinsics, rustc_attrs)] #![no_core] #![no_main] +#![crate_type = "rlib"] use minicore::ptr;