Skip to content

Commit

Permalink
disable autoformat and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
filipw committed Jun 25, 2024
1 parent 4d90d0d commit 4c9af5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ Language bindings for popular languages, surfacing Q# compiler and resource esti

## Building

1. Run the following command to build the project:
1. Install `uniffi-bindgen-cs`

```bash
cargo install uniffi-bindgen-cs --git https://github.com/NordSecurity/uniffi-bindgen-cs
```

2. Run the following command to build the project:

```bash
cargo build --release
```

2. The language bindings are generated into the `bindings` directory.
3. The language bindings are generated into the `bindings` directory.

3. The native library is located under `./target/release/libqsharp_bridge.{so|dll|dylib|a}`.
4. The native library is located under `./target/release/libqsharp_bridge.{so|dll|dylib|a}`.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn main() {
vec!["kotlin", "swift", "python"],
Some(out_dir.into()),
None,
true).unwrap();
false).unwrap();

Command::new("uniffi-bindgen-cs").arg("--out-dir").arg(out_dir).arg(udl_file).output().expect("Failed when generating C# bindings");
}

0 comments on commit 4c9af5c

Please sign in to comment.