# fuchsia_wrap_rust_binary

Wrap a compiled rust binary.

The resulting target can be used as a dep in fuchsia_component.

## **PARAMETERS**

| Name | Description | Default |
|---|---|---|
| name | This target name. | `None` |
| bin_name | The filename to place under bin/. Defaults to name. | `None` |
| native_binary | The existing binary's target label. | `None` |
| sdk_root_label | Optionally override the root label of the fuchsia sdk repo. | `"@fuchsia_sdk"` |
| clang_root_label | Optionally override the root label of the fuchsia clang repo. | `"@fuchsia_clang"` |
| kwargs | Misc arguments (like testonly and visibility) to forward to the underlying rule. | - |