You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: linking with `cc` failed: exit code: 1
...
note: /usr/lib/gcc/i486-linux-gnu/4.7/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
Reproduced on linux32 and win32.
The text was updated successfully, but these errors were encountered:
Aha, we've been running into this with our attempts to create an embedding version of Servo. Basically, we'd like to compile our main crate both into a binary and into a library that we can use for embedding hosts (e.g., Chromium). I guess we can do this as two steps instead.
This has long since not been too relevant since the introduction of many crate
type outputs. This commit removes the flag entirely, adjusting all logic to do
the most reasonable thing when building both a library and an executable.
Closes#13337
Reproduced on linux32 and win32.
The text was updated successfully, but these errors were encountered: