Skip to content

Commit 940ba7b

Browse files
authored
bump(mcpp.plugins): 0.7.1, nothing in the package instantiates std::filesystem::path's iterator (#403)
Under MSVC 14.52 (36629 and 36725, measured on xrgui's CI) a module whose BMI carries std::filesystem::path's iterator poisons every importer that touches path again: filesystem(1572): error C2801: '_Path_iterator<...>::operator ==' must be a non-static member the STL's own hidden friend. 0.7.1 changes no member's interface: the lib root reads paths apart as strings and the members' relative-path arithmetic is one string helper. 0.7.0 is unusable on that toolset for any consumer whose host modules touch a path, which is why `latest` moves. Archive downloaded twice and hashed the same; CN asset published from that file with gtc and read back byte-identical. No package in this index pins mcpp.plugins. mcpp-community/mcpp-plugins#18
1 parent f07e689 commit 940ba7b

1 file changed

Lines changed: 34 additions & 3 deletions

File tree

pkgs/m/mcpp.plugins.lua

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,16 @@
378378
-- and `profile_for` gains the Vulkan 1.4 row (SPIR-V 1.6). No engine floor
379379
-- moves: everything is spelling inside the rule.
380380
--
381+
-- 0.7.1 changes no member's interface and records a compiler: under MSVC 14.52
382+
-- (36629 and 36725, measured on xrgui's CI) a module whose BMI carries
383+
-- `std::filesystem::path`'s iterator poisons every importer that touches
384+
-- `path` again -- `filesystem(1572): error C2801: '_Path_iterator<...>::
385+
-- operator ==' must be a non-static member`, the STL's own hidden friend.
386+
-- Nothing in the package instantiates that iterator now: the lib root reads
387+
-- paths apart as strings, and the members' relative-path arithmetic is one
388+
-- string helper. Found by elimination in three probes; 0.7.0 is unusable on
389+
-- that toolset for any consumer whose host modules touch a path.
390+
--
381391
-- The descriptor points at the source archive of the tag, the shape `grpcgen`
382392
-- established; the CN asset is the same bytes, so one sha256 names both.
383393
package = {
@@ -391,6 +401,13 @@ package = {
391401

392402
xpm = {
393403
linux = {
404+
["0.7.1"] = {
405+
url = {
406+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.7.1.tar.gz",
407+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.7.1/mcpp-plugins-0.7.1.tar.gz",
408+
},
409+
sha256 = "a8d1b4dc8187c2b67a17d997245a4e4a3d52e26251f4c824fc5b951b58bbe293",
410+
},
394411
["0.7.0"] = {
395412
url = {
396413
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.7.0.tar.gz",
@@ -503,9 +520,16 @@ package = {
503520
},
504521
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
505522
},
506-
["latest"] = { ref = "0.7.0" },
523+
["latest"] = { ref = "0.7.1" },
507524
},
508525
macosx = {
526+
["0.7.1"] = {
527+
url = {
528+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.7.1.tar.gz",
529+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.7.1/mcpp-plugins-0.7.1.tar.gz",
530+
},
531+
sha256 = "a8d1b4dc8187c2b67a17d997245a4e4a3d52e26251f4c824fc5b951b58bbe293",
532+
},
509533
["0.7.0"] = {
510534
url = {
511535
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.7.0.tar.gz",
@@ -618,9 +642,16 @@ package = {
618642
},
619643
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
620644
},
621-
["latest"] = { ref = "0.7.0" },
645+
["latest"] = { ref = "0.7.1" },
622646
},
623647
windows = {
648+
["0.7.1"] = {
649+
url = {
650+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.7.1.tar.gz",
651+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.7.1/mcpp-plugins-0.7.1.tar.gz",
652+
},
653+
sha256 = "a8d1b4dc8187c2b67a17d997245a4e4a3d52e26251f4c824fc5b951b58bbe293",
654+
},
624655
["0.7.0"] = {
625656
url = {
626657
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.7.0.tar.gz",
@@ -733,7 +764,7 @@ package = {
733764
},
734765
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
735766
},
736-
["latest"] = { ref = "0.7.0" },
767+
["latest"] = { ref = "0.7.1" },
737768
},
738769
},
739770

0 commit comments

Comments
 (0)