- // If we are building an executable, then there's no need to flag
- // anything as external except for `extern fn` types. These
- // functions may still participate in some form of native interface,
- // but all other rust-only interfaces can be private (they will not
- // participate in linkage after this product is produced)
+ // If we are building an executable, only explicitly extern
+ // types need to be exported.