This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
b6f81e0434
rust
/
tests
/
run-make
/
issue-28766
/
Makefile
6 lines
80 B
Makefile
Raw
Normal View
History
Unescape
Escape
Diagnose missing includes in run-make tests
2022-08-22 19:00:00 -05:00
i
n
c
l
u
d
e
.
.
/
t
o
o
l
s
.
m
k
Translate zero-sized return types as void The only way to get a value for a zero-sized type is `undef`, so there's really no point in actually having a return type other than void for such types. Also, while the comment in return_type_is_void mentioned something about aiding C ABI support, @eddyb correctly pointed out on IRC that there is no such thing as a zero-sized type in C. And even with clang, which allows empty structs, those get translated as void return types as well. Fixes #28766
2016-01-15 10:34:38 -06:00
all
:
$(
RUSTC
)
-O foo.rs
$(
RUSTC
)
-O -L
$(
TMPDIR
)
main.rs
Reference in New Issue
Copy Permalink