Skip to content

Commit 6ff9f5d

Browse files
committed
Merge branch 'remove_basic_string_unsigned_char' into update_libcxx_libcxxabi_19
2 parents 1cdbe79 + b421f75 commit 6ff9f5d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/embind/embind.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,7 @@ var LibraryEmbind = {
496496
name = readLatin1String(name);
497497
var stdStringIsUTF8
498498
#if EMBIND_STD_STRING_IS_UTF8
499-
//process only std::string bindings with UTF8 support, in contrast to e.g. std::basic_string<unsigned char>
500-
= (name === "std::string");
499+
= true;
501500
#else
502501
= false;
503502
#endif

test/code_size/embind_val_wasm.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"a.html": 552,
33
"a.html.gz": 380,
4-
"a.js": 6849,
5-
"a.js.gz": 2948,
6-
"a.wasm": 9263,
7-
"a.wasm.gz": 4761,
8-
"total": 16664,
9-
"total_gz": 8089
4+
"a.js": 6724,
5+
"a.js.gz": 2900,
6+
"a.wasm": 9527,
7+
"a.wasm.gz": 4892,
8+
"total": 16803,
9+
"total_gz": 8172
1010
}

0 commit comments

Comments
 (0)