Skip to content

Commit f54ecdb

Browse files
committed
Remove invalid target-specific dependency example.
1 parent 86376c8 commit f54ecdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/reference/specifying-dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@ winhttp = "0.4.0"
255255
openssl = "1.0.1"
256256

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

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

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

0 commit comments

Comments
 (0)