about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSeth Pellegrino <seth@codecopse.net>2020-07-08 09:48:15 -0700
committerSeth Pellegrino <seth@codecopse.net>2020-07-08 09:48:15 -0700
commit56b6b44641f0dc999a63b478c93af5279ad7464f (patch)
tree6d419585626625e15f2b616cbb30f69d0df8e540
parent9366458c58a60b9573f45f1c407bd4c7f2fa1876 (diff)
downloadrust-56b6b44641f0dc999a63b478c93af5279ad7464f.tar.gz
rust-56b6b44641f0dc999a63b478c93af5279ad7464f.zip
Avoid running test on Windows platforms
There don't seem to be any other compiletests that are 1) building a standalone "no_core" create and then 2) trying to link against it. There seems to be a platform-specific limitation in doing so:

```
2020-07-08T16:07:42.9419409Z   = note:    Creating library D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll.lib and object D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll.exp
2020-07-08T16:07:42.9419810Z           LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
2020-07-08T16:07:42.9420032Z           D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll : fatal error LNK1120: 1 unresolved externals
```

Possibly this could be resolved by adding a `__DllMainCRTStartup` or `__DllMainCRTStartup@12` symbol in an architecture- and platform-specific way.
-rw-r--r--src/test/rustdoc/intra-link-prim-methods-external-core.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc/intra-link-prim-methods-external-core.rs b/src/test/rustdoc/intra-link-prim-methods-external-core.rs
index b9bdd86ecc5..e09d36594ed 100644
--- a/src/test/rustdoc/intra-link-prim-methods-external-core.rs
+++ b/src/test/rustdoc/intra-link-prim-methods-external-core.rs
@@ -1,6 +1,7 @@
 // aux-build:my-core.rs
 // build-aux-docs
 // ignore-cross-compile
+// ignore-windows
 // ignore-tidy-linelength
 
 #![deny(intra_doc_link_resolution_failure)]