Skip to content

Commit dd24a11

Browse files
committed
add FIXME on libcxx check
Signed-off-by: onur-ozkan <[email protected]>
1 parent 480670e commit dd24a11

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/bootstrap/src/core/sanity.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub fn check(build: &mut Build) {
105105
}
106106

107107
// Ensure that a compatible version of libstdc++ is available on the system when using `llvm.download-ci-llvm`.
108-
if !build.config.dry_run() && !build.build.is_msvc() && build.config.llvm_from_ci {
108+
if !build.config.dry_run() && build.config.llvm_from_ci {
109109
let builder = Builder::new(build);
110110
let libcxx_version = builder.ensure(tool::LibcxxVersionTool { target: build.build });
111111

@@ -124,11 +124,7 @@ pub fn check(build: &mut Build) {
124124
}
125125
}
126126
tool::LibcxxVersion::Llvm(_) => {
127-
eprintln!(
128-
"\nYour system is using libc++, which is incompatible with the `llvm.download-ci-llvm` option."
129-
);
130-
eprintln!("Disable `llvm.download-ci-llvm` or switch to libstdc++.");
131-
crate::exit!(1);
127+
// FIXME: Handle libc++ version check.
132128
}
133129
}
134130
}

0 commit comments

Comments
 (0)