bytecodealliance / preview2-prototyping

Polyfill adapter for preview1-using wasm modules to call preview2 functions.
Other
77 stars 20 forks source link

Revert #131, renaming `main` back to `run`. #165

Closed sunfishcode closed 1 year ago

sunfishcode commented 1 year ago

Changing LLVM and/or Rust to avoid special handling of main is a fair amount of work, and there could be other toolchains with similar special rules for functions named main, so rename the command entrypoint back to run.

We could potentially re-evaluate this in the future, such as in a preview3 timeframe, but for now, let's go with the simplest thing that works.