-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Labels
Description
target_feature 1.1 should ease implementing some SIMD code.
- safe
#[target_feature]
functions can be called without anunsafe {}
block only from functions that have at least the exact same set of#[target_feature]
s. Calling them from other contexts (other functions, static variable initializers, etc.) requires opening anunsafe {}
even though they are not marked as unsafe- safe
#[target_feature]
functions are not assignable to safefn
pointers.
This issue is a tracker to know when we'll be able to use it.