mlua-rs / luau-src-rs

Source code and logic to build Roblox Luau for Rust
Other
7 stars 5 forks source link

Support (LLVM) libc++ on other platforms such as linux #3

Open theoparis opened 1 month ago

theoparis commented 1 month ago

See https://github.com/mlua-rs/luau-src-rs/blob/main/src/lib.rs#L243 LLVM libc++ is currently only supported on apple platforms.

I get a bunch of linking errors due to this:

  ld.lld: error: undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append(char const*)
          >>> referenced by string:1361 (/home/theo/src/llvm-builds/install/bin/../include/c++/v1/string:1361)
          >>>               93bf4816e2ff97ae-Compiler.o:(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator+=[abi:ne200000](char const*)) in archive /home/theo/src/car-thing-tools/target/debug/deps/libmlua_sys-905d254762e6b864.rlib
khvzak commented 2 weeks ago

Could you try the latest release (0.640), or if it does not work, steps how to reproduce the issue?