about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMika Lehtinen <smibu90@gmail.com>2018-12-31 12:16:45 +0200
committerMika Lehtinen <smibu90@gmail.com>2018-12-31 13:51:40 +0200
commit794b81ea5eb11db59e1337e3a09b2b2b2480c1bd (patch)
tree75a7accce86dbb5ccdfa9c2b0bddbd36ff98ca80 /src/rustllvm/RustWrapper.cpp
parentf39bd9b9cb71de6650bcf0c5b08e42af6f5df491 (diff)
downloadrust-794b81ea5eb11db59e1337e3a09b2b2b2480c1bd.tar.gz
rust-794b81ea5eb11db59e1337e3a09b2b2b2480c1bd.zip
Rename and fix nolink-with-link-args test
There are three problems with the nolink-with-link-args test:

* The test fails when using MSVC. It's caused by the `linker-flavor=ld` flag which was added in #46291.
* In its comment, this test tests that "link_args are indeed passed when nolink is specified", but the `nolink` attribute has been removed [a long time ago](https://github.com/rust-lang/rust/pull/12826).
* Pattern has a small typo.

At first I was going to completely remove this test, but there is [a closed pull request for that](https://github.com/rust-lang/rust/pull/21090).

So:

* rename the file as suggested in the closed PR
* adjust the comment
* fix typo in the pattern
* add `ignore-msvc`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions