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
parent 90808877c5
commit ad00d616e8

View File

@@ -843,7 +843,10 @@ language features:
* closure iterators
* the ``cast`` operator
* 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.