You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let build_env = rustc_codegen_clr::compile_test::cargo_build_env();
3
+
println!("In order to compile cargo crates with `rustc_codegen_clr`, please set the RUSTFLAGS enviorment variable to:");
4
+
println!();
5
+
println!("\"{build_env}\"");
6
+
println!();
7
+
println!("On linux, you may use the following commmand to quickly set the required enviroment variables:");
8
+
println!();
9
+
println!("export RUSTFLAGS=\"{build_env}\"");
10
+
println!();
11
+
println!("On windows(powershell), you may use the following commmand to quickly set the required enviroment variables:");
12
+
println!();
13
+
println!("$Env:RUSTFLAGS = '{build_env}'");
14
+
println!();
15
+
println!("After you are done working with `rustc_codegen_clr` either unset the enviroment variable OR restart your shell(close the command prompt window).");
16
+
println!("On linux, you may use the following commmand to quickly unset the required enviroment variables:");
17
+
println!();
18
+
println!("unset RUSTFLAGS");
19
+
println!();
20
+
println!("Please note that those varaibles may change when the codegen is updated/rebuilt.");
21
+
println!("After each time the codegen is rebuilt, please use this tool again to get updated build enviroment variables.");
22
+
println!();
23
+
println!("If you are using the project, please remember to:");
24
+
println!("1. Update BOTH rustc and the project on a regular basis.");
25
+
println!("2. Report compiler bugs to the maintainers of `rustc_codegen_clr` not the maintainers of the compiler as a whole.");
26
+
println!(" In 99.999% of the cases, the bug is wihin this project and not the compiler.");
0 commit comments