about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/codes.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-05-15 14:21:39 +0200
committerGitHub <noreply@github.com>2024-05-15 14:21:39 +0200
commit2659ff3882ea57c680a6bfc6533e95be346ed9ad (patch)
treeef5577bc3a3de970c9952f5366873be747b02478 /compiler/rustc_errors/src/codes.rs
parent4f7d9d4ad815b6a48e1cd41fcc63e37875d3341d (diff)
parent1f61cc3078ce6bcca8095778310f73fc45f7193e (diff)
downloadrust-2659ff3882ea57c680a6bfc6533e95be346ed9ad.tar.gz
rust-2659ff3882ea57c680a6bfc6533e95be346ed9ad.zip
Rollup merge of #125104 - Oneirical:test6, r=jieyouxu
Migrate `run-make/no-cdylib-as-rdylib` to `rmake`

Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).

> "the test will fail if the cdylib is picked, because it doesn't export any rust symbols"

Is that true? Is there a way to verify?

I suggest maybe extending the test with: (after cleaning the directory)

```rust
    rustc()
        .input("bar.rs")
        .crate_type("cdylib")
        .run();
    rustc()
        .input("foo.rs")
        .prefer_dynamic()
        .run();
    fail();
```

to make sure we're actually testing something here.
Diffstat (limited to 'compiler/rustc_errors/src/codes.rs')
0 files changed, 0 insertions, 0 deletions