# How do I set up the Go SDK to work with the Rust bindings?

**URL:** <https://community.bitwarden.com/t/how-do-i-set-up-the-go-sdk-to-work-with-the-rust-bindings/68253>\
**Category:** Password Manager\
**Tags:** app:bwdc, app:all, server:default-cloud\
**Created:** [June 12, 2024, 8:23am UTC](https://community.bitwarden.com/t/how-do-i-set-up-the-go-sdk-to-work-with-the-rust-bindings/68253 "2024-06-12T08:23:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gergely\_Brautigam](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/gergely_brautigam/32/31767_2.png) [@Gergely\_Brautigam](https://community.bitwarden.com/u/Gergely_Brautigam)\
**Post date:** [June 12, 2024, 8:23am UTC](https://community.bitwarden.com/t/how-do-i-set-up-the-go-sdk-to-work-with-the-rust-bindings/68253/1 "2024-06-12T08:23:59Z")

</div>

Hello!

I have a support question. I’m trying to use the Go SDK but I’m new to CGO and linking.

I understand that I need the lib from rust SDK and I’m building the project right now with `cargo build`. And it built successfully so I have the build libs.

How do I go from there? How do I link this stuff into my own project so it finds it?

Thank you!

---

<div class="post-metadata">

**Author:** ![Gergely\_Brautigam](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/gergely_brautigam/32/31767_2.png) [@Gergely\_Brautigam](https://community.bitwarden.com/u/Gergely_Brautigam)\
**Post date:** [June 12, 2024, 12:21pm UTC](https://community.bitwarden.com/t/how-do-i-set-up-the-go-sdk-to-work-with-the-rust-bindings/68253/2 "2024-06-12T12:21:14Z")

</div>

I figured it out.

I tried the example in the go-sdk folder and all I had to do in the end was adding:

```auto
export CGO_LDFLAGS="-framework CoreFoundation"

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Nail1684](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/nail1684/32/47626_2.png) [@Nail1684](https://community.bitwarden.com/u/Nail1684)\
**Post date:** [January 14, 2025, 11:25pm UTC](https://community.bitwarden.com/t/how-do-i-set-up-the-go-sdk-to-work-with-the-rust-bindings/68253/3 "2025-01-14T23:25:36Z")

</div>

Closed on January 14, 2025, 11:25pm UTC


