Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle IR changes to const enums for Rust; re-enable regression tests
- Loading branch information
1 parent
337ef8b
commit 454a117
Showing
5 changed files
with
127 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe" | ||
package="baseline" | ||
id="1" | ||
version="0" | ||
semanticVersion="5.2" | ||
description="Enum Constants as top-level and group field" | ||
byteOrder="littleEndian"> | ||
<types> | ||
<composite name="messageHeader" description="Message identifiers and length of message root"> | ||
<type name="blockLength" primitiveType="uint16"/> | ||
<type name="templateId" primitiveType="uint16"/> | ||
<type name="schemaId" primitiveType="uint16"/> | ||
<type name="version" primitiveType="uint16"/> | ||
</composite> | ||
<composite name="groupSizeEncoding" description="Repeating group dimensions"> | ||
<type name="blockLength" primitiveType="uint16"/> | ||
<type name="numInGroup" primitiveType="uint16"/> | ||
</composite> | ||
</types> | ||
<types> | ||
<enum name="Model" encodingType="char"> | ||
<validValue name="A">A</validValue> | ||
<validValue name="B">B</validValue> | ||
<validValue name="C">C</validValue> | ||
</enum> | ||
</types> | ||
<sbe:message name="ConstantEnums" id="1" description=""> | ||
<field name="c" id="4" type="Model" presence="constant" valueRef="Model.C"/> | ||
<group name="f" id="7" dimensionType="groupSizeEncoding"> | ||
<field name="k" id="12" type="Model" presence="constant" valueRef="Model.C"/> | ||
</group> | ||
</sbe:message> | ||
</sbe:messageSchema> |