-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove pinning cxx_version
in get_stdopt
for xeus-cpp-lite
#202
Comments
This happens because of how So the solution is as follows.
Probably adding the following below this block(https://github.com/compiler-research/CppInterOp/blob/c446c3e2c43a1d3f374c739295d1484d5349274e/lib/Interpreter/CMakeLists.txt#L7-L19) would suffice.
|
Currently we only support c++ 20 based wasm kernel and this flag is passed to our wasm interpreter here
xeus-cpp/src/xinterpreter.cpp
Lines 29 to 33 in dc14222
This is the only place where essentially we should be hardcoing the version
20
before we start supporting multiple wasm kernels.Currently
get_stdopt
is framed like thisBut we should simply have
That is basically run the
__get_cxx_version
as a first side module and fetch the version throughEvaluate
rather than hardcode it, cause xeus-cpp-lite should be able to run thecode
fromget_stdopt
anyways.The text was updated successfully, but these errors were encountered: