diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2023-05-06 09:09:30 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-06 09:09:30 +0900 |
| commit | 923a5a2ca7c9d8d3f89d186e5d34918dc6522e25 (patch) | |
| tree | e40751bbcb14895691b77cc4f17dc9ddffd28c35 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | f9a6b71580cd53dd4491d9bb6400f7ee841d9c22 (diff) | |
| parent | 1ece1ea48c0d9e4c8414abf872626f7a54747976 (diff) | |
| download | rust-923a5a2ca7c9d8d3f89d186e5d34918dc6522e25.tar.gz rust-923a5a2ca7c9d8d3f89d186e5d34918dc6522e25.zip | |
Rollup merge of #109677 - dpaoliello:rawdylib, r=michaelwoerister,wesleywiser
Stabilize raw-dylib, link_ordinal, import_name_type and -Cdlltool This stabilizes the `raw-dylib` feature (#58713) for all architectures (i.e., `x86` as it is already stable for all other architectures). Changes: * Permit the use of the `raw-dylib` link kind for x86, the `link_ordinal` attribute and the `import_name_type` key for the `link` attribute. * Mark the `raw_dylib` feature as stable. * Stabilized the `-Zdlltool` argument as `-Cdlltool`. * Note the path to `dlltool` if invoking it failed (we don't need to do this if `dlltool` returns an error since it prints its path in the error message). * Adds tests for `-Cdlltool`. * Adds tests for being unable to find the dlltool executable, and dlltool failing. * Fixes a bug where we were checking the exit code of dlltool to see if it failed, but dlltool always returns 0 (indicating success), so instead we need to check if anything was written to `stderr`. NOTE: As previously noted (https://github.com/rust-lang/rust/pull/104218#issuecomment-1315895618) using dlltool within rustc is temporary, but this is not the first time that Rust has added a temporary tool use and argument: https://github.com/rust-lang/rust/pull/104218#issuecomment-1318720482 Big thanks to ``````@tbu-`````` for the first version of this PR (#104218)
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
