More support to dynamic field - Sui framework compilation #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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