diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-16 10:55:24 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-16 14:59:03 -0800 |
| commit | 38cb91e66ca7fc7374909b31598dab09db37edaa (patch) | |
| tree | 80aef838e11452ec1a81b7ef8a3ca0858261587a /src/libstd/sys/unix/stack_overflow.rs | |
| parent | ee2bfae011e368e224d6d4f4c9fad13606ee99da (diff) | |
| download | rust-38cb91e66ca7fc7374909b31598dab09db37edaa.tar.gz rust-38cb91e66ca7fc7374909b31598dab09db37edaa.zip | |
syntax: Feature gate #[start] and #[main]
These two attributes are used to change the entry point into a Rust program, but
for now they're being put behind feature gates until we have a chance to think
about them a little more. The #[start] attribute specifically may have its
signature changed.
This is a breaking change to due the usage of these attributes generating errors
by default now. If your crate is using these attributes, add this to your crate
root:
#![feature(start)] // if you're using the #[start] attribute
#![feature(main)] // if you're using the #[main] attribute
cc #20064
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
