anza-xyz / move

Move compiler targeting llvm supported backends
https://discord.gg/wFgfjG9J
Apache License 2.0
109 stars 34 forks source link

Add an example of Move package with a generic entry function #355

Closed dmakarov closed 1 year ago

dmakarov commented 1 year ago

Motivation

Eventually, support for generic entry function will be added. This PR adds a simple example of Move package containing a generic entry function that may be parameterized by a struct type at run-time.

Test Plan

This PR contains a test of functionality to be added in the future.