File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 473473</ span > </ span > </ span > < span style =display:flex > < span > < span style =color:#a40000 > </ span > < span style =color:#204a87;font-weight:700 > option</ span > < span style =color:#000 > features.utf8_validation</ span > < span style =color:#ce5c00;font-weight:700 > =</ span > < span style =color:#000 > VERIFY</ span > < span style =color:#000;font-weight:700 > ;</ span > < span style =color:#a40000 >
474474</ span > </ span > </ span > < span style =display:flex > < span > < span style =color:#a40000 > </ span > < span style =color:#204a87;font-weight:700 > option</ span > < span style =color:#000 > features.</ span > < span style =color:#000;font-weight:700 > (</ span > < span style =color:#000 > pb.cpp</ span > < span style =color:#000;font-weight:700 > )</ span > < span style =color:#ce5c00;font-weight:700 > .</ span > < span style =color:#000 > legacy_closed_enum</ span > < span style =color:#ce5c00;font-weight:700 > =</ span > < span style =color:#204a87;font-weight:700 > false</ span > < span style =color:#000;font-weight:700 > ;</ span > < span style =color:#a40000 >
475475</ span > </ span > </ span > < span style =display:flex > < span > < span style =color:#a40000 > </ span > < span style =color:#204a87;font-weight:700 > option</ span > < span style =color:#000 > features.</ span > < span style =color:#000;font-weight:700 > (</ span > < span style =color:#000 > pb.java</ span > < span style =color:#000;font-weight:700 > )</ span > < span style =color:#ce5c00;font-weight:700 > .</ span > < span style =color:#000 > legacy_closed_enum</ span > < span style =color:#ce5c00;font-weight:700 > =</ span > < span style =color:#204a87;font-weight:700 > false</ span > < span style =color:#000;font-weight:700 > ;</ span > < span style =color:#a40000 >
476- </ span > </ span > </ span > </ code > </ pre > </ div > < h3 id =2023-2024 > Edition 2023 to 2024</ h3 > < p > The following shows the settings to replicate Edition 2023 behavior with Edition
477- 2024.</ p > < div class =highlight > < pre tabindex =0 style =background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4 > < code class =language-proto data-lang =proto > < span style =display:flex > < span > < span style =color:#8f5902;font-style:italic > // foo/bar_baz.proto
476+ </ span > </ span > </ span > </ code > </ pre > </ div > < h3 id =2023-2024 > Edition 2023 to 2024</ h3 > < p > The following shows the settings to replicate Edition 2023 behavior with
477+ Edition 2024.</ p > < div class =highlight > < pre tabindex =0 style =background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4 > < code class =language-proto data-lang =proto > < span style =display:flex > < span > < span style =color:#8f5902;font-style:italic > // foo/bar_baz.proto
478478</ span > </ span > </ span > < span style =display:flex > < span > < span style =color:#8f5902;font-style:italic > </ span > < span style =color:#000 > edition</ span > < span style =color:#ce5c00;font-weight:700 > =</ span > < span style =color:#4e9a06 > "2024"</ span > < span style =color:#000;font-weight:700 > ;</ span > < span style =color:#a40000 >
479479</ span > </ span > </ span > < span style =display:flex > < span > < span style =color:#a40000 >
480480</ span > </ span > </ span > < span style =display:flex > < span > < span style =color:#a40000 > </ span > < span style =color:#204a87;font-weight:700 > import</ span > < span style =color:#204a87;font-weight:700 > option</ span > < span style =color:#4e9a06 > "third_party/protobuf/cpp_features.proto"</ span > < span style =color:#000;font-weight:700 > ;</ span > < span style =color:#a40000 >
You can’t perform that action at this time.
0 commit comments