I don't think we necessarily need to do the inlining it wants, we just need for EIR to parse it and maybe keep track that the flag is on to use later, but I kinda feel that Erlang-level inlining decisions have different performance and code size trade offs than native compiling with lumen, so it is probably best to ignore it for now.
warning: invalid compile option
┌─ /Users/runner/work/lumen/otp/lib/kernel/src/user.erl:21:10
│
21 │ -compile(inline).
│ ^^^^^^ this option is either unsupported or unrecognized
I don't think we necessarily need to do the inlining it wants, we just need for EIR to parse it and maybe keep track that the flag is on to use later, but I kinda feel that Erlang-level inlining decisions have different performance and code size trade offs than native compiling with
lumen
, so it is probably best to ignore it for now.Affects the following files in OTP:
lib/kernel/src/user.erl
lib/wx/src/gen/glu.erl
lib/wx/src/gen/gl.erl