Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More support to dynamic field - Sui framework compilation #73

Merged
merged 6 commits into from
Jun 21, 2024

Conversation

jcivlin
Copy link

@jcivlin jcivlin commented Jun 21, 2024

With this change we are able to compile Sui-framework (with exception of generic (parametrized) entry points.

This should work:

debug/move-mv-llvm-compiler -c /home/sol/work/git/sui-solana-032024/crates/sui-framework/packages/sui-framework/tests/dynamic_field
_tests.move -p /home/sol/work/git/sui-solana-032024/crates/sui-framework/packages/sui-framework/Move.toml --test  -S -o ~/tmp/dynamic_field

And then:

ll ~/tmp/dynamic_field/
total 1060
drwxr-xr-x  2 sol users   4096 Jun 21 02:18 ./
drwxr-xr-x 49 sol users   4096 Jun  9 01:44 ../
-rw-r--r--  1 sol users   1460 Jun 21 02:18 0x1__address.ll
-rw-r--r--  1 sol users  31722 Jun 21 02:18 0x1__ascii.ll
-rw-r--r--  1 sol users   1303 Jun 21 02:18 0x1__bcs.ll
-rw-r--r--  1 sol users   1249 Jun 21 02:18 0x1__option.ll
-rw-r--r--  1 sol users  44366 Jun 21 02:18 0x1__string.ll
-rw-r--r--  1 sol users  49787 Jun 21 02:18 0x1__type_name.ll
-rw-r--r--  1 sol users   1304 Jun 21 02:18 0x1__unit_test.ll
-rw-r--r--  1 sol users   1705 Jun 21 02:18 0x1__vector.ll
-rw-r--r--  1 sol users  24106 Jun 21 02:18 0x2__address.ll
-rw-r--r--  1 sol users 197029 Jun 21 02:18 0x2__authenticator_state.ll
-rw-r--r--  1 sol users   6687 Jun 21 02:18 0x2__bag.ll
-rw-r--r--  1 sol users   1237 Jun 21 02:18 0x2__balance.ll
-rw-r--r--  1 sol users  17364 Jun 21 02:18 0x2__clock.ll
-rw-r--r--  1 sol users   1228 Jun 21 02:18 0x2__coin.ll
-rw-r--r--  1 sol users 146115 Jun 21 02:18 0x2__deny_list.ll
-rw-r--r--  1 sol users   1847 Jun 21 02:18 0x2__dynamic_field.ll
-rw-r--r--  1 sol users 130194 Jun 21 02:18 0x2__dynamic_field_tests.ll
-rw-r--r--  1 sol users   1271 Jun 21 02:18 0x2__dynamic_object_field.ll
-rw-r--r--  1 sol users  68009 Jun 21 02:18 0x2__hex.ll
-rw-r--r--  1 sol users  35973 Jun 21 02:18 0x2__math.ll
-rw-r--r--  1 sol users  19385 Jun 21 02:18 0x2__object.ll
-rw-r--r--  1 sol users  59555 Jun 21 02:18 0x2__random.ll
-rw-r--r--  1 sol users  40356 Jun 21 02:18 0x2__sui.ll
-rw-r--r--  1 sol users   1231 Jun 21 02:18 0x2__table.ll
-rw-r--r--  1 sol users  28441 Jun 21 02:18 0x2__test_scenario.ll
-rw-r--r--  1 sol users   1575 Jun 21 02:18 0x2__transfer.ll
-rw-r--r--  1 sol users  27675 Jun 21 02:18 0x2__tx_context.ll
-rw-r--r--  1 sol users   1292 Jun 21 02:18 0x2__types.ll
-rw-r--r--  1 sol users   4899 Jun 21 02:18 0x2__url.ll
-rw-r--r--  1 sol users   1237 Jun 21 02:18 0x2__vec_map.ll
-rw-r--r--  1 sol users   1237 Jun 21 02:18 0x2__vec_set.ll
-rw-r--r--  1 sol users   2225 Jun 21 02:18 0x2__versioned.ll
-rw-r--r--  1 sol users  33251 Jun 21 02:18 solana_entrypoint.ll
-rw-r--r--  1 sol users  18744 Jun 21 02:18 solana_entrypoint.o

@jcivlin jcivlin marked this pull request as ready for review June 21, 2024 03:19
@jcivlin jcivlin merged commit 8390f8a into anza-xyz:solana Jun 21, 2024
12 checks passed
@jcivlin jcivlin mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants