From 5beb86c3ca38f82f984c181ce01aecaab0343a31 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 a0c6409b1bc0..cd32707596b2 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;