Skip to content

Commit c616910

Browse files
committed
Updated build options for mac
1 parent 40aaec2 commit c616910

File tree

6 files changed

+21
-3769
lines changed

6 files changed

+21
-3769
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"]

.github/actions/setup-ocaml/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ runs:
1212
with:
1313
ocaml-compiler: ${{ inputs.ocaml_version }}
1414

15-
- name: Setup OPAM environment
16-
shell: bash
17-
run: |
18-
# Export all OPAM environment variables to GITHUB_ENV
19-
# This avoids other steps to run `eval $(opam env)`
20-
opam env | sed -E 's/; export [A-Za-z_][A-Za-z0-9_]*;?//g' >> $GITHUB_ENV
15+
# - name: Setup OPAM environment
16+
# shell: bash
17+
# run: |
18+
# # Export all OPAM environment variables to GITHUB_ENV
19+
# # This avoids other steps to run `eval $(opam env)`
20+
# opam env | sed -E 's/; export [A-Za-z_][A-Za-z0-9_]*;?//g' >> $GITHUB_ENV

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
RUST_BACKTRACE: full
1818
OPENMINA_PANIC_ON_BUG: true
1919
CARGO_INCREMENTAL: 1
20-
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off"
20+
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off -C link-args=-Wl,-undefined,dynamic_lookup"
2121

2222
concurrency:
2323
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

macros/src/action_event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ enum FieldsSpec {
5252
Some(Vec<(Option<Ident>, TokenStream)>),
5353
}
5454

55-
#[derive(Clone, Debug, Default)]
55+
#[derive(Clone, Default)]
5656
struct ActionEventAttrs {
5757
level: Option<Level>,
5858
fields: Option<FieldsSpec>,

0 commit comments

Comments
 (0)