UPDATE - Complete link.rs migration to new diagnostics infraestructure
This commit is contained in:
parent
6718ea1cff
commit
4c80f50fc6
4 changed files with 227 additions and 81 deletions
|
@ -919,29 +919,17 @@ fn link_natively<'a>(
|
||||||
)
|
)
|
||||||
.is_some();
|
.is_some();
|
||||||
|
|
||||||
sess.note_without_error("`link.exe` returned an unexpected error");
|
sess.emit_note(errors::LinkExeUnexpectedError);
|
||||||
if is_vs_installed && has_linker {
|
if is_vs_installed && has_linker {
|
||||||
// the linker is broken
|
// the linker is broken
|
||||||
sess.note_without_error(
|
sess.emit_note(errors::RepairVSBuildTools);
|
||||||
"the Visual Studio build tools may need to be repaired \
|
sess.emit_note(errors::MissingCppBuildToolComponent);
|
||||||
using the Visual Studio installer",
|
|
||||||
);
|
|
||||||
sess.note_without_error(
|
|
||||||
"or a necessary component may be missing from the \
|
|
||||||
\"C++ build tools\" workload",
|
|
||||||
);
|
|
||||||
} else if is_vs_installed {
|
} else if is_vs_installed {
|
||||||
// the linker is not installed
|
// the linker is not installed
|
||||||
sess.note_without_error(
|
sess.emit_note(errors::SelectCppBuildToolWorkload);
|
||||||
"in the Visual Studio installer, ensure the \
|
|
||||||
\"C++ build tools\" workload is selected",
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
// visual studio is not installed
|
// visual studio is not installed
|
||||||
sess.note_without_error(
|
sess.emit_note(errors::VisualStudioNotInstalled);
|
||||||
"you may need to install Visual Studio build tools with the \
|
|
||||||
\"C++ build tools\" workload",
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -954,35 +942,20 @@ fn link_natively<'a>(
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
let linker_not_found = e.kind() == io::ErrorKind::NotFound;
|
let linker_not_found = e.kind() == io::ErrorKind::NotFound;
|
||||||
|
|
||||||
let mut linker_error = {
|
|
||||||
if linker_not_found {
|
if linker_not_found {
|
||||||
sess.struct_err(&format!("linker `{}` not found", linker_path.display()))
|
sess.emit_err(errors::LinkerNotFound { linker_path, error: e });
|
||||||
} else {
|
} else {
|
||||||
sess.struct_err(&format!(
|
sess.emit_err(errors::UnableToExeLinker {
|
||||||
"could not exec the linker `{}`",
|
linker_path,
|
||||||
linker_path.display()
|
error: e,
|
||||||
))
|
command_formatted: format!("{:?}", &cmd),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
|
||||||
linker_error.note(&e.to_string());
|
|
||||||
|
|
||||||
if !linker_not_found {
|
|
||||||
linker_error.note(&format!("{:?}", &cmd));
|
|
||||||
}
|
|
||||||
|
|
||||||
linker_error.emit();
|
|
||||||
|
|
||||||
if sess.target.is_like_msvc && linker_not_found {
|
if sess.target.is_like_msvc && linker_not_found {
|
||||||
sess.note_without_error(
|
sess.emit_note(errors::MsvcMissingLinker);
|
||||||
"the msvc targets depend on the msvc linker \
|
sess.emit_note(errors::CheckInstalledVisualStudio);
|
||||||
but `link.exe` was not found",
|
sess.emit_note(errors::UnsufficientVSCodeProduct);
|
||||||
);
|
|
||||||
sess.note_without_error(
|
|
||||||
"please ensure that Visual Studio 2017 or later, or Build Tools \
|
|
||||||
for Visual Studio were installed with the Visual C++ option.",
|
|
||||||
);
|
|
||||||
sess.note_without_error("VS Code is a different product, and is not sufficient.");
|
|
||||||
}
|
}
|
||||||
sess.abort_if_errors();
|
sess.abort_if_errors();
|
||||||
}
|
}
|
||||||
|
@ -1007,15 +980,13 @@ fn link_natively<'a>(
|
||||||
if !prog.status.success() {
|
if !prog.status.success() {
|
||||||
let mut output = prog.stderr.clone();
|
let mut output = prog.stderr.clone();
|
||||||
output.extend_from_slice(&prog.stdout);
|
output.extend_from_slice(&prog.stdout);
|
||||||
sess.struct_warn(&format!(
|
sess.emit_warning(errors::ProcessingDymutilFailed {
|
||||||
"processing debug info with `dsymutil` failed: {}",
|
status: prog.status,
|
||||||
prog.status
|
output: escape_string(&output),
|
||||||
))
|
});
|
||||||
.note(&escape_string(&output))
|
|
||||||
.emit();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => sess.fatal(&format!("unable to run `dsymutil`: {}", e)),
|
Err(error) => sess.emit_fatal(errors::UnableToRunDsymutil { error }),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1092,21 +1063,21 @@ fn strip_symbols_with_external_utility<'a>(
|
||||||
if !prog.status.success() {
|
if !prog.status.success() {
|
||||||
let mut output = prog.stderr.clone();
|
let mut output = prog.stderr.clone();
|
||||||
output.extend_from_slice(&prog.stdout);
|
output.extend_from_slice(&prog.stdout);
|
||||||
sess.struct_warn(&format!(
|
sess.emit_warning(errors::StrippingDebuInfoFailed {
|
||||||
"stripping debug info with `{}` failed: {}",
|
util,
|
||||||
util, prog.status
|
status: prog.status,
|
||||||
))
|
output: escape_string(&output),
|
||||||
.note(&escape_string(&output))
|
});
|
||||||
.emit();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => sess.fatal(&format!("unable to run `{}`: {}", util, e)),
|
Err(error) => sess.emit_fatal(errors::UnableToRun { util, error }),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn escape_string(s: &[u8]) -> String {
|
fn escape_string(s: &[u8]) -> String {
|
||||||
match str::from_utf8(s) {
|
match str::from_utf8(s) {
|
||||||
Ok(s) => s.to_owned(),
|
Ok(s) => s.to_owned(),
|
||||||
|
// FIXME: return a type that can conform to IntoDiagnosticArg
|
||||||
Err(_) => format!("Non-UTF-8 output: {}", s.escape_ascii()),
|
Err(_) => format!("Non-UTF-8 output: {}", s.escape_ascii()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1251,7 +1222,7 @@ pub fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) {
|
||||||
)),
|
)),
|
||||||
(Some(linker), None) => {
|
(Some(linker), None) => {
|
||||||
let stem = linker.file_stem().and_then(|stem| stem.to_str()).unwrap_or_else(|| {
|
let stem = linker.file_stem().and_then(|stem| stem.to_str()).unwrap_or_else(|| {
|
||||||
sess.fatal("couldn't extract file stem from specified linker")
|
sess.emit_fatal(errors::LinkerFileStem);
|
||||||
});
|
});
|
||||||
|
|
||||||
let flavor = if stem == "emcc" {
|
let flavor = if stem == "emcc" {
|
||||||
|
@ -1378,13 +1349,9 @@ fn print_native_static_libs(sess: &Session, all_native_libs: &[NativeLib]) {
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
if !lib_args.is_empty() {
|
if !lib_args.is_empty() {
|
||||||
sess.note_without_error(
|
sess.emit_note(errors::StaticLibraryNativeArtifacts);
|
||||||
"Link against the following native artifacts when linking \
|
|
||||||
against this static library. The order and any duplication \
|
|
||||||
can be significant on some platforms.",
|
|
||||||
);
|
|
||||||
// Prefix for greppability
|
// Prefix for greppability
|
||||||
sess.note_without_error(&format!("native-static-libs: {}", &lib_args.join(" ")));
|
sess.emit_note(errors::NativeStaticLibs { arguments: lib_args.join(" ") });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1688,14 +1655,14 @@ fn add_link_script(cmd: &mut dyn Linker, sess: &Session, tmpdir: &Path, crate_ty
|
||||||
match (crate_type, &sess.target.link_script) {
|
match (crate_type, &sess.target.link_script) {
|
||||||
(CrateType::Cdylib | CrateType::Executable, Some(script)) => {
|
(CrateType::Cdylib | CrateType::Executable, Some(script)) => {
|
||||||
if !sess.target.linker_flavor.is_gnu() {
|
if !sess.target.linker_flavor.is_gnu() {
|
||||||
sess.fatal("can only use link script when linking with GNU-like linker");
|
sess.emit_fatal(errors::LinkScriptUnavailable);
|
||||||
}
|
}
|
||||||
|
|
||||||
let file_name = ["rustc", &sess.target.llvm_target, "linkfile.ld"].join("-");
|
let file_name = ["rustc", &sess.target.llvm_target, "linkfile.ld"].join("-");
|
||||||
|
|
||||||
let path = tmpdir.join(file_name);
|
let path = tmpdir.join(file_name);
|
||||||
if let Err(e) = fs::write(&path, script.as_ref()) {
|
if let Err(error) = fs::write(&path, script.as_ref()) {
|
||||||
sess.fatal(&format!("failed to write link script to {}: {}", path.display(), e));
|
sess.emit_fatal(errors::LinkScriptWriteFailure { path, error });
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.arg("--script");
|
cmd.arg("--script");
|
||||||
|
@ -1841,8 +1808,8 @@ fn add_linked_symbol_object(
|
||||||
|
|
||||||
let path = tmpdir.join("symbols.o");
|
let path = tmpdir.join("symbols.o");
|
||||||
let result = std::fs::write(&path, file.write().unwrap());
|
let result = std::fs::write(&path, file.write().unwrap());
|
||||||
if let Err(e) = result {
|
if let Err(error) = result {
|
||||||
sess.fatal(&format!("failed to write {}: {}", path.display(), e));
|
sess.emit_fatal(errors::FailedToWrite { path, error });
|
||||||
}
|
}
|
||||||
cmd.add_object(&path);
|
cmd.add_object(&path);
|
||||||
}
|
}
|
||||||
|
@ -2299,14 +2266,10 @@ fn collect_natvis_visualizers(
|
||||||
visualizer_paths.push(visualizer_out_file);
|
visualizer_paths.push(visualizer_out_file);
|
||||||
}
|
}
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
sess.warn(
|
sess.emit_warning(errors::UnableToWriteDebuggerVisualizer {
|
||||||
format!(
|
path: visualizer_out_file,
|
||||||
"Unable to write debugger visualizer file `{}`: {} ",
|
error,
|
||||||
visualizer_out_file.display(),
|
});
|
||||||
error
|
|
||||||
)
|
|
||||||
.as_str(),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2641,7 +2604,7 @@ fn add_upstream_rust_crates<'a>(
|
||||||
|| !codegen_results.crate_info.is_no_builtins.contains(&cnum);
|
|| !codegen_results.crate_info.is_no_builtins.contains(&cnum);
|
||||||
|
|
||||||
let mut archive = archive_builder_builder.new_archive_builder(sess);
|
let mut archive = archive_builder_builder.new_archive_builder(sess);
|
||||||
if let Err(e) = archive.add_archive(
|
if let Err(error) = archive.add_archive(
|
||||||
cratepath,
|
cratepath,
|
||||||
Box::new(move |f| {
|
Box::new(move |f| {
|
||||||
if f == METADATA_FILENAME {
|
if f == METADATA_FILENAME {
|
||||||
|
@ -2681,7 +2644,7 @@ fn add_upstream_rust_crates<'a>(
|
||||||
false
|
false
|
||||||
}),
|
}),
|
||||||
) {
|
) {
|
||||||
sess.fatal(&format!("failed to build archive from rlib: {}", e));
|
sess.emit_fatal(errors::RlibArchiveBuildFailure { error });
|
||||||
}
|
}
|
||||||
if archive.build(&dst) {
|
if archive.build(&dst) {
|
||||||
link_upstream(&dst);
|
link_upstream(&dst);
|
||||||
|
@ -2919,7 +2882,7 @@ fn add_gcc_ld_path(cmd: &mut dyn Linker, sess: &Session, flavor: LinkerFlavor) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sess.fatal("option `-Z gcc-ld` is used even though linker flavor is not gcc");
|
sess.emit_fatal(errors::OptionGccOnly);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -354,3 +354,133 @@ impl IntoDiagnostic<'_> for LinkingFailed<'_> {
|
||||||
diag
|
diag
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_link_exe_unexpected_error)]
|
||||||
|
pub struct LinkExeUnexpectedError;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_repair_vs_build_tools)]
|
||||||
|
pub struct RepairVSBuildTools;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_missing_cpp_build_tool_component)]
|
||||||
|
pub struct MissingCppBuildToolComponent;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_select_cpp_build_tool_workload)]
|
||||||
|
pub struct SelectCppBuildToolWorkload;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_visual_studio_not_installed)]
|
||||||
|
pub struct VisualStudioNotInstalled;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_linker_not_found)]
|
||||||
|
#[note]
|
||||||
|
pub struct LinkerNotFound {
|
||||||
|
pub linker_path: PathBuf,
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_unable_to_exe_linker)]
|
||||||
|
#[note]
|
||||||
|
#[note(command_note)]
|
||||||
|
pub struct UnableToExeLinker {
|
||||||
|
pub linker_path: PathBuf,
|
||||||
|
pub error: Error,
|
||||||
|
pub command_formatted: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_msvc_missing_linker)]
|
||||||
|
pub struct MsvcMissingLinker;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_check_installed_visual_studio)]
|
||||||
|
pub struct CheckInstalledVisualStudio;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_unsufficient_vs_code_product)]
|
||||||
|
pub struct UnsufficientVSCodeProduct;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_processing_dymutil_failed)]
|
||||||
|
#[note]
|
||||||
|
pub struct ProcessingDymutilFailed {
|
||||||
|
pub status: ExitStatus,
|
||||||
|
pub output: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_unable_to_run_dsymutil)]
|
||||||
|
#[note]
|
||||||
|
pub struct UnableToRunDsymutil {
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_stripping_debu_info_failed)]
|
||||||
|
#[note]
|
||||||
|
pub struct StrippingDebuInfoFailed<'a> {
|
||||||
|
pub util: &'a str,
|
||||||
|
pub status: ExitStatus,
|
||||||
|
pub output: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_unable_to_run)]
|
||||||
|
pub struct UnableToRun<'a> {
|
||||||
|
pub util: &'a str,
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_linker_file_stem)]
|
||||||
|
pub struct LinkerFileStem;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_static_library_native_artifacts)]
|
||||||
|
pub struct StaticLibraryNativeArtifacts;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_native_static_libs)]
|
||||||
|
pub struct NativeStaticLibs {
|
||||||
|
pub arguments: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_link_script_unavailable)]
|
||||||
|
pub struct LinkScriptUnavailable;
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_link_script_write_failure)]
|
||||||
|
pub struct LinkScriptWriteFailure {
|
||||||
|
pub path: PathBuf,
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_failed_to_write)]
|
||||||
|
pub struct FailedToWrite {
|
||||||
|
pub path: PathBuf,
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_unable_to_write_debugger_visualizer)]
|
||||||
|
pub struct UnableToWriteDebuggerVisualizer {
|
||||||
|
pub path: PathBuf,
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_rlib_archive_build_failure)]
|
||||||
|
pub struct RlibArchiveBuildFailure {
|
||||||
|
pub error: Error,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Diagnostic)]
|
||||||
|
#[diag(codegen_ssa_option_gcc_only)]
|
||||||
|
pub struct OptionGccOnly;
|
||||||
|
|
|
@ -119,3 +119,54 @@ codegen_ssa_thorin_object_read = {$error}
|
||||||
codegen_ssa_thorin_object_write = {$error}
|
codegen_ssa_thorin_object_write = {$error}
|
||||||
codegen_ssa_thorin_gimli_read = {$error}
|
codegen_ssa_thorin_gimli_read = {$error}
|
||||||
codegen_ssa_thorin_gimli_write = {$error}
|
codegen_ssa_thorin_gimli_write = {$error}
|
||||||
|
|
||||||
|
codegen_ssa_link_exe_unexpected_error = `link.exe` returned an unexpected error
|
||||||
|
|
||||||
|
codegen_ssa_repair_vs_build_tools = the Visual Studio build tools may need to be repaired using the Visual Studio installer
|
||||||
|
|
||||||
|
codegen_ssa_missing_cpp_build_tool_component = or a necessary component may be missing from the "C++ build tools" workload
|
||||||
|
|
||||||
|
codegen_ssa_select_cpp_build_tool_workload = in the Visual Studio installer, ensure the "C++ build tools" workload is selected
|
||||||
|
|
||||||
|
codegen_ssa_visual_studio_not_installed = you may need to install Visual Studio build tools with the "C++ build tools" workload
|
||||||
|
|
||||||
|
codegen_ssa_linker_not_found = linker `{$linker_path}` not found
|
||||||
|
.note = {$error}
|
||||||
|
|
||||||
|
codegen_ssa_unable_to_exe_linker = could not exec the linker `{$linker_path}`
|
||||||
|
.note = {$error}
|
||||||
|
.command_note = {$command_formatted}
|
||||||
|
|
||||||
|
codegen_ssa_msvc_missing_linker = the msvc targets depend on the msvc linker but `link.exe` was not found
|
||||||
|
|
||||||
|
codegen_ssa_check_installed_visual_studio = please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.
|
||||||
|
|
||||||
|
codegen_ssa_unsufficient_vs_code_product = VS Code is a different product, and is not sufficient.
|
||||||
|
|
||||||
|
codegen_ssa_processing_dymutil_failed = processing debug info with `dsymutil` failed: {$status}
|
||||||
|
.note = {$output}
|
||||||
|
|
||||||
|
codegen_ssa_unable_to_run_dsymutil = unable to run `dsymutil`: {$error}
|
||||||
|
|
||||||
|
codegen_ssa_stripping_debu_info_failed = stripping debug info with `{$util}` failed: {$status}
|
||||||
|
.note = {$output}
|
||||||
|
|
||||||
|
codegen_ssa_unable_to_run = unable to run `{$util}`: {$error}
|
||||||
|
|
||||||
|
codegen_ssa_linker_file_stem = couldn't extract file stem from specified linker
|
||||||
|
|
||||||
|
codegen_ssa_static_library_native_artifacts = Link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.
|
||||||
|
|
||||||
|
codegen_ssa_native_static_libs = native-static-libs: {$arguments}
|
||||||
|
|
||||||
|
codegen_ssa_link_script_unavailable = can only use link script when linking with GNU-like linker
|
||||||
|
|
||||||
|
codegen_ssa_link_script_write_failure = failed to write link script to {$path}: {$error}
|
||||||
|
|
||||||
|
codegen_ssa_failed_to_write = failed to write {$path}: {$error}
|
||||||
|
|
||||||
|
codegen_ssa_unable_to_write_debugger_visualizer = Unable to write debugger visualizer file `{$path}`: {$error}
|
||||||
|
|
||||||
|
codegen_ssa_rlib_archive_build_failure = failed to build archive from rlib: {$error}
|
||||||
|
|
||||||
|
codegen_ssa_option_gcc_only = option `-Z gcc-ld` is used even though linker flavor is not gcc
|
||||||
|
|
|
@ -13,6 +13,7 @@ use std::borrow::Cow;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::num::ParseIntError;
|
use std::num::ParseIntError;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
use std::process::ExitStatus;
|
||||||
|
|
||||||
pub struct DiagnosticArgFromDisplay<'a>(pub &'a dyn fmt::Display);
|
pub struct DiagnosticArgFromDisplay<'a>(pub &'a dyn fmt::Display);
|
||||||
|
|
||||||
|
@ -66,7 +67,8 @@ into_diagnostic_arg_using_display!(
|
||||||
ParseIntError,
|
ParseIntError,
|
||||||
StackProtector,
|
StackProtector,
|
||||||
&TargetTriple,
|
&TargetTriple,
|
||||||
SplitDebuginfo
|
SplitDebuginfo,
|
||||||
|
ExitStatus,
|
||||||
);
|
);
|
||||||
|
|
||||||
impl IntoDiagnosticArg for bool {
|
impl IntoDiagnosticArg for bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue