about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-12 21:02:03 -0800
committerbors <bors@rust-lang.org>2013-12-12 21:02:03 -0800
commit09bb3c0c4bb8d174b783d3bfd3c0cdf06b2fa013 (patch)
treea1b20e11f2657a249d2f4eab31e5277a7b8938c7 /src/test
parent1b12dca7f97a51c6cbb4f47ea6e095d841a97c1a (diff)
parentd4d1310c5c5562592069d93683d558d6b8f87236 (diff)
downloadrust-09bb3c0c4bb8d174b783d3bfd3c0cdf06b2fa013.tar.gz
rust-09bb3c0c4bb8d174b783d3bfd3c0cdf06b2fa013.zip
auto merge of #10878 : vadimcn/rust/manifest, r=alexcrichton
In order to avoid UAC installer detection silliness...

Closes #10512
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/setup.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/run-pass/setup.rs b/src/test/run-pass/setup.rs
new file mode 100644
index 00000000000..12231907940
--- /dev/null
+++ b/src/test/run-pass/setup.rs
@@ -0,0 +1,19 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// On Windows this test checks that Rust binaries have an embedded
+// application manifest and don't trip UAC installer detection
+// heuristics ("setup" is one of the "installer" keywords).
+// For details, see issue #10512.
+
+// On other platforms this is a no-op.
+
+pub fn main() {
+}