From 3a9b689af05ed57a1efba297cb02731852577253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Mon, 1 Apr 2019 00:38:50 +0200 Subject: [PATCH] Fix cloudabi abi import in libstd --- core/src/thread_parker/cloudabi.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/thread_parker/cloudabi.rs b/core/src/thread_parker/cloudabi.rs index e3b36254..1b5e0707 100644 --- a/core/src/thread_parker/cloudabi.rs +++ b/core/src/thread_parker/cloudabi.rs @@ -5,7 +5,10 @@ // http://opensource.org/licenses/MIT>, at your option. This file may not be // copied, modified, or distributed except according to those terms. +#[cfg(not(feature = "i-am-libstd"))] use cloudabi as abi; +#[cfg(feature = "i-am-libstd")] +use crate::sys::abi; use core::{ cell::Cell, mem,