Skip to content

Commit 777a16f

Browse files
update Rapid YAML to 0.10.0
1 parent 7d1cbf8 commit 777a16f

File tree

8 files changed

+44356
-33666
lines changed

8 files changed

+44356
-33666
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ ALL_HEADERS = \
109109
core/std.jsonnet.h \
110110
third_party/md5/md5.h \
111111
third_party/json/json.hpp \
112-
third_party/rapidyaml/rapidyaml/src/ryml_std.hpp \
112+
third_party/rapidyaml/rapidyaml-0.10.0.hpp \
113113
$(INCS)
114114

115115

core/vm.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@ limitations under the License.
2121
#include <set>
2222
#include <string>
2323

24-
// charconv is because the RapidYAML 0.5.0 release has a bug in the single-header build.
25-
// https://github.com/biojppm/rapidyaml/issues/364#issuecomment-1536625415
26-
#include <charconv>
27-
2824
#include "desugarer.h"
2925
#include "json.h"
3026
#include <nlohmann/json.hpp>
3127
#include "md5.h"
3228
#include "parser.h"
33-
#include "ryml_all.hpp"
29+
#include "rapidyaml-0.10.0.hpp"
3430
#include "state.h"
3531
#include "static_analysis.h"
3632
#include "string_utils.h"

third_party/rapidyaml/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cc_library(
88
"rapidyaml.cpp",
99
],
1010
hdrs = [
11-
"ryml_all.hpp",
11+
"rapidyaml-0.10.0.hpp",
1212
],
1313
includes = ["."],
1414
visibility = ["//core:__pkg__"],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
add_library(ryml STATIC rapidyaml.cpp ryml_all.hpp)
1+
add_library(ryml STATIC rapidyaml.cpp rapidyaml-0.10.0.hpp)

third_party/rapidyaml/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Vendoring
22

33
This uses the 'single header' release of Rapid YAML.
4-
Download from: https://github.com/biojppm/rapidyaml/releases/tag/v0.5.0
4+
Download from: https://github.com/biojppm/rapidyaml/releases/tag/v0.10.0
55

6-
`rapidyaml-0.5.0.hpp` (renamed to `ryml_all.hpp`)
6+
`rapidyaml-0.10.0.hpp
77

88
rapidyaml.cpp instantiates the library as a single translation unit.

0 commit comments

Comments
 (0)