From 32cf0350468a024207075ceed1dae4e2b8341935 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 12 Oct 2020 01:51:40 +0200 Subject: [PATCH] Use no-prefer-dynamic --- src/test/ui/lto-opt-level-s.rs | 1 + src/test/ui/lto-opt-level-z.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/ui/lto-opt-level-s.rs b/src/test/ui/lto-opt-level-s.rs index ad3934efdd8..a7d9d5024d3 100644 --- a/src/test/ui/lto-opt-level-s.rs +++ b/src/test/ui/lto-opt-level-s.rs @@ -1,5 +1,6 @@ // compile-flags: -Clinker-plugin-lto -Copt-level=s // build-pass +// no-prefer-dynamic #![crate_type = "rlib"] diff --git a/src/test/ui/lto-opt-level-z.rs b/src/test/ui/lto-opt-level-z.rs index 3e77eb6170f..bf1f5e2b263 100644 --- a/src/test/ui/lto-opt-level-z.rs +++ b/src/test/ui/lto-opt-level-z.rs @@ -1,5 +1,6 @@ // compile-flags: -Clinker-plugin-lto -Copt-level=z // build-pass +// no-prefer-dynamic #![crate_type = "rlib"]