Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up`rust-call` call ABI is not feature gated at call-sites #34901
Comments
pnkfelix
added
I-nominated
T-lang
labels
Jul 18, 2016
pnkfelix
added
the
I-papercut
label
Jul 28, 2016
This comment has been minimized.
This comment has been minimized.
|
Conclusion: this seems like we ought to feature gate the call sites (but not a big deal ultimately). |
pnkfelix
removed
the
I-nominated
label
Jul 28, 2016
Mark-Simulacrum
added
A-stability
C-bug
and removed
I-papercut
labels
Jul 25, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pnkfelix commentedJul 18, 2016
Note: This may be a feature, not a bug. But I wanted to make the point explicit.
If I make a crate named
defswith this:and then a bin crate
useswith a dependency ondefsand this for itsmain.rs:Compiling the former obviously provides the feature gate it needs to define something with the
rust-callABI.But compiling the latter does not require any feature gate, even though it is calling something via the
rust-callABI which is not stable.This may be fine, since the point of origin is gated (apart from problems like #34900). But it seems worth discussion.