Warn about calling wrappers at compile time until #14049 is fixed. (#14828)

This commit is contained in:
Sizhe Zhao 2020-06-27 22:51:48 +08:00 • committed by GitHub
commit ad00d616e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -843,7 +843,10 @@ language features:
* closure iterators * closure iterators
* the ``cast`` operator * the ``cast`` operator
* reference (pointer) types * reference (pointer) types
* the FFI * FFI
The use of wrappers that use FFI and/or ``cast`` is also disallowed. Note that
these wrappers include the ones in the standard libraries.
Some or all of these restrictions are likely to be lifted over time. Some or all of these restrictions are likely to be lifted over time.