File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ impl Build {
684
684
/// Set the standard library to link against when compiling with C++
685
685
/// support.
686
686
///
687
- /// See [`get_cpp_link_stdlib`](cc:: Build::get_cpp_link_stdlib) documentation
687
+ /// See [`get_cpp_link_stdlib`](Build::get_cpp_link_stdlib) documentation
688
688
/// for the default value.
689
689
/// If the `CXXSTDLIB` environment variable is set, its value will
690
690
/// override the default value, but not the value explicitly set by calling
@@ -2282,11 +2282,11 @@ impl Build {
2282
2282
}
2283
2283
2284
2284
/// Returns the C++ standard library:
2285
- /// 1. If [cpp_link_stdlib](cc:: Build::cpp_link_stdlib) is set, uses its value.
2285
+ /// 1. If [cpp_link_stdlib](Build::cpp_link_stdlib) is set, uses its value.
2286
2286
/// 2. Else if the `CXXSTDLIB` environment variable is set, uses its value.
2287
2287
/// 3. Else the default is `libc++` for OS X and BSDs, `libc++_shared` for Android,
2288
2288
/// `None` for MSVC and `libstdc++` for anything else.
2289
- fn get_cpp_link_stdlib ( & self ) -> Result < Option < String > , Error > {
2289
+ pub fn get_cpp_link_stdlib ( & self ) -> Result < Option < String > , Error > {
2290
2290
match self . cpp_link_stdlib . clone ( ) {
2291
2291
Some ( s) => Ok ( s) ,
2292
2292
None => {
You can’t perform that action at this time.
0 commit comments