File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ command line using `--cfg` (e.g. `rustc main.rs --cfg foo --cfg 'bar="baz"'`).
219
219
Rust code then checks for their presence using the ` #[cfg(...)] ` attribute:
220
220
221
221
```
222
- // The function is only included in the build when compiling for OSX
222
+ // The function is only included in the build when compiling for macOS
223
223
#[cfg(target_os = "macos")]
224
224
fn macos_only() {
225
225
// ...
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ be ignored in favor of only building the artifacts specified by command line.
46
46
* ` --crate-type=cdylib ` , ` #[crate_type = "cdylib"] ` - A dynamic system
47
47
library will be produced. This is used when compiling Rust code as
48
48
a dynamic library to be loaded from another language. This output type will
49
- create ` *.so ` files on Linux, ` *.dylib ` files on OSX , and ` *.dll ` files on
49
+ create ` *.so ` files on Linux, ` *.dylib ` files on macOS , and ` *.dll ` files on
50
50
Windows.
51
51
52
52
* ` --crate-type=rlib ` , ` #[crate_type = "rlib"] ` - A "Rust library" file will be
You can’t perform that action at this time.
0 commit comments