Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

wasm-main.c
// RUN: %clang_cc1 -triple wasm32 -o - -emit-llvm %s | FileCheck %s

// Don't mangle the no-arg form of main.

int main(void) {
  return 0;
}

// CHECK-LABEL: define i32 @main()