Skip to content

Commit

Permalink
Remove invalid target-specific dependency example.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Feb 22, 2022
1 parent 86376c8 commit f54ecdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/src/reference/specifying-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ winhttp = "0.4.0"
openssl = "1.0.1"

[target.'cfg(target_arch = "x86")'.dependencies]
native = { path = "native/i686" }
native-i686 = { path = "native/i686" }

[target.'cfg(target_arch = "x86_64")'.dependencies]
native = { path = "native/x86_64" }
native-x86_64 = { path = "native/x86_64" }
```

Like with Rust, the syntax here supports the `not`, `any`, and `all` operators
Expand Down

0 comments on commit f54ecdb

Please sign in to comment.