mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Remove default-except-unstable
… and use remaining unstable features unconditionally. This doesn’t actually change the set of crates that can build on the Stable channel.
This commit is contained in:
parent
d1efad6763
commit
bddfe9a468
17 changed files with 24 additions and 68 deletions
|
@ -32,14 +32,7 @@ macro_rules! task {
|
|||
pub trait TaskOnce: Send {
|
||||
#[allow(unsafe_code)]
|
||||
fn name(&self) -> &'static str {
|
||||
#[cfg(feature = "unstable")]
|
||||
unsafe {
|
||||
::std::intrinsics::type_name::<Self>()
|
||||
}
|
||||
#[cfg(not(feature = "unstable"))]
|
||||
{
|
||||
"(task name unknown)"
|
||||
}
|
||||
unsafe { ::std::intrinsics::type_name::<Self>() }
|
||||
}
|
||||
|
||||
fn run_once(self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue