From 4bd1aa690cb72c746b4f95ced06a9107d42336a4 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Wed, 29 Sep 2021 19:50:53 -0300 Subject: [PATCH] chore(docs): improve sidecar target script --- docs/usage/guides/bundler/sidecar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/guides/bundler/sidecar.md b/docs/usage/guides/bundler/sidecar.md index bc4b7997b..d3a25383d 100644 --- a/docs/usage/guides/bundler/sidecar.md +++ b/docs/usage/guides/bundler/sidecar.md @@ -28,7 +28,7 @@ Here is a sample to illustrate the configuration, this is not a complete `tauri. A binary with the same name and a `-$TARGET_TRIPLE` suffix must exist on the specified path. For instance, `"externalBin": ["bin/python"]` requires a `src-tauri/bin/python-x86_64-unknown-linux-gnu` executable on Linux. You can find the current platform's target triple running the following command: ```bash -RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json +rustc -Vv | grep host | cut -f2 -d' ' ``` Here's a Node.js script to append the target triple to a binary: