Skip to content

Make ActionMoveVisitor an implementation detail rather than a part of the API - #47

Closed
deadalnix wants to merge 1 commit into
meta:masterfrom
deadalnix:visitorprivate
Closed

deadalnix wants to merge 1 commit into
meta:masterfrom
deadalnix:visitorprivate

Conversation

@deadalnix

Copy link
Copy Markdown
Contributor

This is one more step toward isolating fizz specific code from the API. The elements that cannot be moved away can then be extracted into a pluggable component, at least that's the goal.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 25, 2019

ClientHandshake::ClientHandshake(QuicCryptoState& cryptoState)
: cryptoState_(cryptoState), visitor_(*this) {}
ClientHandshake::ClientHandshake(QuicCryptoState &cryptoState)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally cuddle & with the type instead of the variable name. Here and elsewhere, can you change it so that & is next to the type?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. Could you prioritize #43 so that this kind of problem doesn't happen as often, please ?

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sharma95 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@deadalnix

Copy link
Copy Markdown
Contributor Author

Fixed merge conflicts.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangchi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@yangchi merged this pull request in cf6b652.

@deadalnix
deadalnix deleted the visitorprivate branch October 9, 2019 21:13
meta-codesync Bot pushed a commit that referenced this pull request Jul 7, 2026
Summary:
The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly.

The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to:
1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml`
2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++

This matches Linux behavior (getdeps already builds fmt from source there).

X-link: meta/rebalancer#48

Reviewed By: yangneu2015

Differential Revision: D110918926

Pulled By: r-barnes

fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
zerox80 pushed a commit to zerox80/mvfst that referenced this pull request Oct 16, 2026
Summary:
The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly.

The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to:
1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml`
2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++

This matches Linux behavior (getdeps already builds fmt from source there).

X-link: meta/rebalancer#48

Reviewed By: yangneu2015

Differential Revision: D110918926

Pulled By: r-barnes

fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants