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 {
684684 /// Set the standard library to link against when compiling with C++
685685 /// support.
686686 ///
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
688688 /// for the default value.
689689 /// If the `CXXSTDLIB` environment variable is set, its value will
690690 /// override the default value, but not the value explicitly set by calling
@@ -2282,11 +2282,11 @@ impl Build {
22822282 }
22832283
22842284 /// 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.
22862286 /// 2. Else if the `CXXSTDLIB` environment variable is set, uses its value.
22872287 /// 3. Else the default is `libc++` for OS X and BSDs, `libc++_shared` for Android,
22882288 /// `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 > {
22902290 match self . cpp_link_stdlib . clone ( ) {
22912291 Some ( s) => Ok ( s) ,
22922292 None => {
You can’t perform that action at this time.
0 commit comments