diff options
Diffstat (limited to 'experimental/rust-beta/ui-test-strings.patch')
-rw-r--r-- | experimental/rust-beta/ui-test-strings.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/experimental/rust-beta/ui-test-strings.patch b/experimental/rust-beta/ui-test-strings.patch new file mode 100644 index 000000000..182a233b0 --- /dev/null +++ b/experimental/rust-beta/ui-test-strings.patch @@ -0,0 +1,25 @@ +check-cfg/well-known-values: We add our own vendor, so we need to include it. + +codegen/duplicated-path-in-error: musl's ldso error doesn't match glibc's. + +diff --git a/tests/ui/check-cfg/well-known-values.stderr b/tests/ui/check-cfg/well-known-values.stderr +index 00abb5f5e5c..84648541fb7 100644 +--- a/tests/ui/check-cfg/well-known-values.stderr ++++ b/tests/ui/check-cfg/well-known-values.stderr +@@ -230,7 +230,7 @@ warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` + LL | target_vendor = "_UNEXPECTED_VALUE", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | +- = note: expected values for `target_vendor` are: `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` ++ = note: expected values for `target_vendor` are: `apple`, `espressif`, `fortanix`, `foxkit`, `ibm`, `kmc`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration + + warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` +diff --git a/tests/ui/codegen/duplicated-path-in-error.stderr b/tests/ui/codegen/duplicated-path-in-error.stderr +index d0d34e2f934..2892ebffdde 100644 +--- a/tests/ui/codegen/duplicated-path-in-error.stderr ++++ b/tests/ui/codegen/duplicated-path-in-error.stderr +@@ -1,2 +1,2 @@ +-error: couldn't load codegen backend /non-existing-one.so: cannot open shared object file: No such file or directory ++error: couldn't load codegen backend /non-existing-one.so: Error loading shared library /non-existing-one.so: No such file or directory + |