3079bd96b9
With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
17 lines
379 B
Rust
17 lines
379 B
Rust
// Blank line after this one because it must come before `instance_user_{a,b}_rlib`.
|
|
extern crate instance_user_dylib;
|
|
|
|
extern crate instance_user_a_rlib;
|
|
extern crate instance_user_b_rlib;
|
|
|
|
use std::cell::Cell;
|
|
|
|
fn main() {
|
|
instance_user_a_rlib::foo();
|
|
instance_user_b_rlib::foo();
|
|
instance_user_dylib::foo();
|
|
|
|
let a: Cell<i32> = Cell::new(1);
|
|
a.set(123);
|
|
}
|