From f54ecdb93eafa943d7bc00f5e6815ae89b92f44c Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 20 Feb 2022 08:10:31 -0800 Subject: [PATCH] Remove invalid target-specific dependency example. --- src/doc/src/reference/specifying-dependencies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/src/reference/specifying-dependencies.md b/src/doc/src/reference/specifying-dependencies.md index bfdadc7efc8..f1188f6d6fb 100644 --- a/src/doc/src/reference/specifying-dependencies.md +++ b/src/doc/src/reference/specifying-dependencies.md @@ -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