You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "=== K2: cppm GMF-guard (external linkage, before export module), static link ==="
80
78
inc=$(python3 -c "import json;args=json.load(open('$GITHUB_WORKSPACE/tests/examples/boost-ext.ut/compile_commands.json'))[0]['arguments'];print(' '.join(a for a in args if a.startswith('-I')))")
python3 -c "p='/tmp/guarded2.cppm'; s=open(p).read(); g='\n// GMF guard: force libc++ stream construction before ut cfg (static-libc++ init-order workaround)\nstd::ios_base::Init ut_ensure_std_streams_ready_global;\n'; m='export module boost.ut;'; assert m in s; open(p,'w').write(s.replace(m, g+m)); print('gmf guard injected')"
0 commit comments