Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
[target.'cfg(all())']
rustflags = ["--cfg", "ruma_identifiers_storage=\"Arc\""]

## LiveKit/libwebrtc requires -ObjC linker flag on macOS
[target.'cfg(target_os = "macos")']
rustflags = ["-C", "link-args=-Wl,-ObjC"]

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=-crt-static"]

[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=-crt-static"]
## Override the bundle/package ID that Makepad uses by default with Robrix's ID.
[env]
MAKEPAD_BUNDLE_IDENTIFIER = { value = "rs.robius.robrix", force = true }
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ jobs:
with:
key: macos-${{ matrix.arch }}-build-${{ hashFiles('Cargo.lock') }}

- name: Install LLVM
run: brew install llvm

- name: Build
run: |
cargo build --profile fast
Expand Down
Loading