diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-29 05:32:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-29 05:32:54 +0200 |
| commit | 1c4a9a905023956bdad921bb683533704f3a14ac (patch) | |
| tree | eb14e18654b3d03ef50b412f55d4fdf8adf072e6 /src/test/ui/thinlto | |
| parent | f0e2895cf892e8abf0d19d8e09b1a58dd618f01e (diff) | |
| parent | 42bd6fa22b753858bd57aec5e987247fd6a00897 (diff) | |
| download | rust-1c4a9a905023956bdad921bb683533704f3a14ac.tar.gz rust-1c4a9a905023956bdad921bb683533704f3a14ac.zip | |
Rollup merge of #63965 - loganwendholt:linker-script-fix, r=michaelwoerister
Prevent syntax error in LD linker version script As discussed in #63925, there is an edge case in which an invalid LD version script is generated when building a `cdylib` with no exported symbols. This PR makes a slight modification to the LD version script generation by first checking to see if any symbols need to be exported. If not, the `global` section of the linker script is simply omitted, and the syntax error is averted.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
