Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow MQTT to run on Mac OS with OTP 26 #9121

Merged
merged 1 commit into from
Aug 16, 2023
Merged
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
7 changes: 7 additions & 0 deletions deps/rabbitmq_mqtt/src/rabbit_mqtt_packet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@

-export([init_state/0, reset_state/0,
parse/2, serialise/2]).

%% This function is nowhere called externally, but must be exported
%% to circumvent the bug in https://github.com/erlang/otp/issues/7566
%% If not exported, this function will return garbage binary data on OTP 26
%% on Mac OS M1 and M2.
-export([serialise_len/1]).

-export_type([state/0]).

-opaque state() :: unauthenticated | authenticated | fun().
Expand Down
Loading