File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1897,7 +1897,7 @@ type int8_t = i8;
1897
1897
1898
1898
### Crate-only attributes
1899
1899
1900
- - ` crate_id ` - specify the this crate's crate ID .
1900
+ - ` crate_name ` - specify the this crate's crate name .
1901
1901
- ` crate_type ` - see [ linkage] ( #linkage ) .
1902
1902
- ` feature ` - see [ compiler features] ( #compiler-features ) .
1903
1903
- ` no_builtins ` - disable optimizing certain code patterns to invocations of
@@ -1927,6 +1927,8 @@ type int8_t = i8;
1927
1927
- ` start ` - indicates that this function should be used as the entry point,
1928
1928
overriding the "start" language item. See the "start" [ language
1929
1929
item] ( #language-items ) for more details.
1930
+ - ` test ` - indicates that this function is a test function, to only be compiled
1931
+ in case of ` --test ` .
1930
1932
1931
1933
### Static-only attributes
1932
1934
You can’t perform that action at this time.
0 commit comments