Commit Graph

349 Commits

Author SHA1 Message Date
vms
12685c59fc little refactoring 2021-04-02 18:31:19 +03:00
vms
ea11a617cd Merge branch 'master' into support_references 2021-04-01 19:44:08 +03:00
vms
a44e9aa700 fix error message 2021-04-01 18:38:16 +03:00
vms
fc320fe50d add trybuild tests 2021-04-01 18:36:25 +03:00
vms
6abd3e0907 delete # https://docs.rs/about 2021-04-01 14:46:33 +03:00
vms
a0fd5b2bc6 fix get_output_type 2021-04-01 14:42:23 +03:00
vms
a4908f37cd pr fixes 2021-04-01 14:37:32 +03:00
vms
e040a17253
Update crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs
Co-authored-by: folex <0xdxdy@gmail.com>
2021-04-01 14:29:40 +03:00
vms
26c9358161
Update crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs
Co-authored-by: folex <0xdxdy@gmail.com>
2021-04-01 14:29:34 +03:00
vms
b010fe93df
Update crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs
Co-authored-by: folex <0xdxdy@gmail.com>
2021-04-01 14:29:01 +03:00
vms
773dedcd79 improve result converting 2021-04-01 12:56:23 +03:00
vms
b57c3687a2 one more fix 2021-04-01 12:49:34 +03:00
vms
c2a7cc874a fix a typo 2021-04-01 12:48:32 +03:00
vms
b34a9fc90b code cleaning 2021-04-01 12:20:52 +03:00
vms
8e2318dc77 housekeeping 2021-04-01 12:11:31 +03:00
vms
6fca2485eb improcve comment 2021-04-01 05:34:16 +03:00
vms
305ca68c10 add comments 2021-04-01 05:29:54 +03:00
vms
e03476316c remove ToTokens impl 2021-04-01 05:10:49 +03:00
vms
6911e72ecc more houskeeping 2021-04-01 05:08:41 +03:00
vms
de2e61e60b houskeeping 2021-04-01 05:06:16 +03:00
vms
0574adb39a it works 2021-04-01 03:49:44 +03:00
vms
ca75ef5ead progress 2021-04-01 02:15:24 +03:00
vms
c571cc1628 implement module glue code generation 2021-03-31 12:38:10 +03:00
vms
3ffe392e14 progress 2021-03-31 11:36:54 +03:00
vms
04c2fb51d7 fix CI 2021-03-28 23:22:12 +03:00
vms
e4c7ed319b cleanup 2021-03-28 22:51:50 +03:00
vms
287090ae5a adjust crate versions 2021-03-28 19:11:29 +03:00
vms
0ed7b3e6b8 misc improvements 2021-03-28 18:02:36 +03:00
vms
fbd021e3e2 intermediate 2021-03-28 17:30:07 +03:00
vms
9811e476ed Merge branch 'master' into fce_test 2021-03-28 15:42:02 +03:00
vms
d3e1b6d3b5 review fixes 2021-03-12 10:29:26 +03:00
vms
6c477059ab rename __FCE_SDK_WASM_MODULE_MANIFEST to __FCE_WASM_MODULE_MANIFEST 2021-03-11 19:59:55 +03:00
vms
00c72c6438 rearrange consts 2021-03-11 19:01:16 +03:00
vms
3d72d5885e simplify the code 2021-03-11 14:43:47 +03:00
vms
eab7d746ef change doc root link 2021-03-11 14:36:01 +03:00
vms
38d8e65368 update rust compiler in circleci; bump crate versions 2021-03-11 14:35:03 +03:00
vms
56a4d0a668 hard names 2021-03-11 14:32:46 +03:00
vms
66a57c5918 fmt 2021-03-11 14:28:46 +03:00
vms
695c870964 add module_manifest macro 2021-03-11 13:58:29 +03:00
vms
9e7d08511a temporary 2021-03-10 15:28:44 +03:00
vms
a8fbe2ca6e progress 2021-03-09 15:45:05 +03:00
vms
e671e835a8 use Any instead of Drop 2021-03-09 12:57:11 +03:00
vms
37cfd15543 add explicit deletion of forgetting objects 2021-03-09 01:01:04 +03:00
vms
cd21f80c59 initial version 2021-03-02 11:38:03 +03:00
vms
e577d6b0c8 Merge branch 'master' into support_references 2021-03-01 15:32:58 +03:00
vms
131d555d75 bump crates 2021-03-01 14:43:33 +03:00
vms
4e3c2fdf3e various fixes 2021-03-01 14:38:48 +03:00
vms
7f6075b52a
Apply suggestions from code review
Co-authored-by: folex <0xdxdy@gmail.com>
2021-03-01 13:50:03 +03:00
vms
947d2047fb use directives instead of map 2021-02-28 19:02:30 +03:00
vms
4cf3291323 bump version 2021-02-26 12:57:28 +03:00
vms
d7d17e19ee bump versions 2021-02-26 12:29:18 +03:00
vms
4bdb18fad5 setting_max_level 2021-02-26 12:24:10 +03:00
vms
db580be7db fix as_std 2021-02-25 23:00:15 +03:00
vms
40a308946e introduce stringify 2021-02-25 22:56:25 +03:00
vms
25b9fd0ef0 bump versions 2021-02-25 13:46:02 +03:00
vms
929a5f21d9 add filter logic 2021-02-25 13:44:10 +03:00
vms
008470a757 fix a typo 2021-02-24 11:46:07 +03:00
vms
fb4ffefab4 review fixes 2021-02-24 11:22:21 +03:00
vms
156bcf527d pr fixes 2021-02-24 08:58:13 +03:00
vms
06f686fc62 bump versions 2021-02-24 08:51:29 +03:00
vms
292bdc73ea add into_std 2021-02-24 08:31:56 +03:00
vms
3492f40057 module renaming 2021-02-22 18:30:45 +03:00
vms
feb7517126 add error 2021-02-19 22:50:38 +03:00
vms
0943e59ee7 add stdout/stderr fields 2021-02-19 18:31:16 +03:00
vms
517b13e1ac add two constructors 2021-02-19 17:45:27 +03:00
vms
b7274974f7 reexport SUCCESS_CODE 2021-02-19 17:19:19 +03:00
vms
a04f4ce4ba add MountedBinaryResult 2021-02-19 17:14:50 +03:00
vms
9a524f1335 update 2021-02-19 14:09:40 +03:00
vms
849042d4db fmt 2021-02-08 17:12:33 +03:00
vms
ba2c5a80fd add ref types 2021-02-05 16:07:31 +03:00
vms
5e3c881250 initial 2021-02-04 14:42:45 +03:00
vms
8d427c0e72 catch up crates.io version 2021-01-12 11:26:39 +03:00
vms
bf564e63d5 fix serde version 2021-01-12 11:16:02 +03:00
vms
3331763e26 bump versions 2020-12-22 15:14:41 +03:00
vms
94a721abf4 update CallParameters 2020-12-22 15:09:39 +03:00
vms
a555291c1c bump crate versions 2020-12-21 19:15:58 +03:00
vms
7bd2341ded add security tetraplets to CallParameters 2020-12-18 11:47:14 +03:00
folex
31dc0a30df
Change 'target' from i64 to i32 in log_utf8_string (#13) 2020-12-17 12:47:43 +03:00
vms
3aab224c97 bump versions 2020-12-09 12:22:52 +03:00
vms
26c806fd6c pr fixes 2020-12-09 12:11:25 +03:00
vms
014d724ea4 fix comment 2020-12-09 12:09:26 +03:00
vms
b631dab17f reexport WASM_LOG_ENV_NAME 2020-12-09 11:34:39 +03:00
vms
c90b685238 change wasm log name 2020-12-08 18:19:06 +03:00
vms
be250f9c1f set log level from RUST_LOG 2020-12-08 14:38:53 +03:00
vms
1ffcd49190 fix comments 2020-12-07 16:54:33 +03:00
vms
81979910f9 reexport WasmLoggerBuilder 2020-12-07 16:30:03 +03:00
vms
e6e7daa1d3 use log::max_level() to check log level 2020-12-07 16:26:58 +03:00
vms
57c624814c bump verion 2020-11-08 18:15:51 +03:00
vms
dc2851379e replace map with target_map 2020-10-29 14:13:28 +03:00
vms
c9cd2ad4d3 reexport TargetMap 2020-10-29 14:10:50 +03:00
vms
e4c1c43c42 improve logger 2020-10-29 14:08:16 +03:00
folex
8c0a029165
Pass log level & target to host log_utf8_string (#8) 2020-10-26 13:06:55 +03:00
vms
c1ecd7e284 add use 2020-10-06 12:34:11 +03:00
vms
c53f03ad06 update 2020-10-06 12:32:15 +03:00
vms
ab438b33d0 fix building 2020-10-06 12:09:50 +03:00
vms
742ff0e2df better wrapping 2020-10-06 12:03:32 +03:00
vms
39b7641373 allow building sdk for x86_64 2020-10-06 11:52:17 +03:00
vms
de9259b842 bump versions 2020-10-01 12:27:37 +03:00
vms
e5d564d4a6 use get_result_ptr instead of stack result 2020-09-29 20:53:24 +03:00
vms
c593202ec9 add #[fce] for CallParameters 2020-09-29 20:35:37 +03:00
vms
23f74d3170 transfer CallParameters as a struct 2020-09-29 20:31:48 +03:00
vms
d63c6e8740 remove debug output 2020-09-28 15:35:56 +03:00
vms
598080005d improve vector deallocation scheme 2020-09-22 18:07:19 +03:00
vms
5c993493f9 bump versions 2020-09-22 14:42:51 +03:00
vms
56368c71f3 fix vec size passing 2020-09-22 14:33:15 +03:00
vms
f247a84f6d update 2020-09-22 13:29:23 +03:00
vms
75f4baaa90 bump versions 2020-09-21 13:42:55 +03:00
vms
c810e0831f fixup 2020-09-21 13:30:24 +03:00
vms
c8db3e784c move to edition 2018 2020-09-21 10:36:00 +03:00
vms
fe78083ecc initial 2020-09-21 10:31:16 +03:00
vms
04e2538661 bump versions 2020-09-16 00:30:05 +03:00
vms
9201a824f2 fixing up complex types 2020-09-14 12:37:28 +03:00
vms
83183ec20a fmt 2020-09-10 20:55:17 +03:00
vms
2c461b4350 replace WasmTYpe with RustType 2020-09-10 20:39:11 +03:00
vms
5db70ea665 fix arg 2020-09-10 19:16:29 +03:00
vms
1808f9f7bb fix boolean 2020-09-10 19:09:58 +03:00
vms
d98014bf8e fmt 2020-09-10 13:17:37 +03:00
vms
d63039a387 fix boolean passing 2020-09-10 13:15:50 +03:00
vms
886156d253 return error instead of unimplemented 2020-09-10 11:07:10 +03:00
vms
8474e89e46 update 2020-09-10 11:00:09 +03:00
vms
dcb6cfddf9 make args mut 2020-09-08 23:44:39 +03:00
vms
00a2a19289 add ManuallyDrop for all foreign parameters in extern blocks 2020-09-08 23:09:03 +03:00
vms
ff447a3258 allow doc attrs on record fields 2020-09-08 12:30:21 +03:00
vms
4b80f36454 fix issue with Vec<u8> ident 2020-09-07 22:47:56 +03:00
vms
413df12776 bump versions 2020-09-03 02:46:38 +03:00
vms
a4bdf78037 bump versions 2020-09-03 02:15:18 +03:00
vms
5dc60f01e4 update 2020-08-26 22:01:44 +03:00
vms
f22fcbf95f parsing mut types 2020-08-26 19:28:02 +03:00
vms
0d28f77bdc strip prefix name 2020-08-26 18:44:27 +03:00
vms
c953d385e8 change type parsing scheme 2020-08-26 18:23:17 +03:00
vms
c385a1f0ff Merge branch 'master' into record_support 2020-08-26 15:51:02 +03:00
vms
1eaf81441d remove some overhead 2020-08-25 18:36:03 +03:00
vms
b90feb4221 change wasm to wasm32 2020-08-24 20:50:03 +03:00
vms
6a21c007a2 add new line 2020-08-24 20:40:52 +03:00
vms
d1f092e6eb introduce used_in_fce feature 2020-08-24 19:10:27 +03:00
vms
4a77da52db update 2020-08-24 15:43:35 +03:00
vms
a0e5438417 update 2020-08-24 15:27:46 +03:00
vms
300318cc72 delete excess trait import 2020-08-24 15:21:17 +03:00
vms
34a27890cb add application_id 2020-08-24 15:10:57 +03:00
vms
5c36e62367 Merge branch 'master' into call_parameters 2020-08-24 15:06:25 +03:00
vms
55f965f9b8 don't use repr with extern 2020-08-24 01:33:17 +03:00
vms
a6e8d326c2
Merge pull request #4 from fluencelabs/foreign_mod_impr
Foreign mod improvements
2020-08-23 04:30:59 +03:00
vms
73b34b7e63 rename feature 2020-08-23 03:18:24 +03:00
vms
03042d4568 fix 2020-08-23 03:14:37 +03:00
vms
4370fc7cf5 fix 2020-08-23 03:01:10 +03:00
vms
34e5dc958a msic 2020-08-23 02:48:04 +03:00
vms
39affc0b28 add serde 2020-08-22 13:56:27 +03:00
vms
52a59d2eb8 fix 2020-08-22 13:50:18 +03:00
vms
fbd3f53628 make se/de funcs public 2020-08-22 13:49:08 +03:00
vms
f312b09fec get rid of trait 2020-08-22 13:40:05 +03:00
vms
b3a8f3cc31 make fce_generated_serialize work wirh self ref 2020-08-22 12:04:47 +03:00
vms
48bc0e52e2 introduce CallParameters 2020-08-22 00:08:12 +03:00
vms
89da1d5285 Delete strings and arrays by refcount instead of from a interface-type side 2020-08-20 22:07:41 +03:00
vms
b2a46e0238 initial 2020-08-18 07:27:04 +03:00
vms
8418111074 add some docs 2020-08-02 14:42:29 +03:00
vms
4683526e16 misc 2020-07-28 17:05:17 +03:00
vms
af08870cd5 allow compilation to non-wasm targets 2020-07-28 17:00:16 +03:00
vms
3db740a760 allow non-public records 2020-07-28 16:49:46 +03:00
vms
141807945e introduce trait FCERecordSerializer 2020-07-28 16:49:10 +03:00
vms
88afe8feaa delete excess mem::forget 2020-07-28 01:02:17 +03:00
vms
a898493202 better result api logging 2020-07-27 23:05:36 +03:00
vms
039082a938 allow struct to be defined in a separate mod 2020-07-27 23:03:31 +03:00
vms
689c389cc7 fix bug with f32 mapping, allow dead code in the logger 2020-07-27 00:02:33 +03:00
vms
a38d88a094 pass records with only pointer without size 2020-07-26 21:57:14 +03:00
vms
7e1197b49b add support of complex types to a foreign items 2020-07-26 14:19:16 +03:00
vms
057be9a9b7 rename is_integral_type to a is_complex_type 2020-07-26 14:10:13 +03:00
vms
0c09b32bb7 move record logic to a separate module 2020-07-26 14:09:35 +03:00
vms
e589d52c72 support records 2020-07-26 13:15:09 +03:00
vms
79a5896015 add possbility to be applied to non-pub functions 2020-07-19 19:14:38 +03:00
vms
be47b96ce8 improve feature selection 2020-07-14 19:01:17 +03:00
vms
124673a4df use all instead of any 2020-07-14 18:43:08 +03:00
vms
fc5a0d81cb improve foreign block generation 2020-07-14 12:29:30 +03:00
vms
40774a1107 enable logger if either logger or debug feature is enabled 2020-07-14 00:50:13 +03:00
vms
043af06af6 add logger feature 2020-07-14 00:36:23 +03:00
vms
5c5287f572 delete excess use 2020-07-11 22:13:24 +03:00
vms
9775ca6144 fix usage of the debug feature 2020-07-11 22:02:14 +03:00
vms
5dc680c046 introduce internal mod to improve sdk API 2020-07-10 10:52:24 +03:00
vms
d33872aa5e reexport to_raw_args 2020-07-10 00:21:53 +03:00
vms
cc2b8249fc fix error with returl value for complex types 2020-07-09 17:18:46 +03:00
vms
d5d1207a3d fix clippy warnings 2020-07-09 14:52:02 +03:00
vms
bee1983d97 getting rid of excess dep 2020-07-09 06:22:21 +03:00
vms
d3f5a15730 introduce macro prepare_global_data 2020-07-09 00:58:21 +03:00
vms
589daaea45 code cleaning 2020-07-08 21:03:44 +03:00
vms
5f26af7990 add docs for public crates 2020-07-08 12:38:56 +03:00
vms
be0451accb refactor wit generation 2020-07-07 23:10:45 +03:00
vms
8b2c6145fd move logic to a separate crate 2020-07-07 10:27:05 +03:00
vms
68cea490d9 code cleaning 2020-07-05 22:46:23 +03:00
vms
1b76203c91 improve foreign item parsing 2020-07-03 13:04:51 +03:00
vms
06dc49e6e3 improve function parsing 2020-07-02 23:56:59 +03:00
vms
2c68bb7a2c update function generation 2020-07-02 22:46:54 +03:00
vms
9839e54383 get rid of unwrap 2020-07-02 11:38:20 +03:00
vms
79d7e181ee update macro crate 2020-07-02 01:00:46 +03:00
vms
aa73411663 update the main part to the new sdk 2020-07-01 00:50:56 +03:00
vms
d596f5034d move to new crates versions 2020-06-30 23:42:26 +03:00
vms
7100cb9475 bump to 0.1.11 2020-04-29 00:54:11 +03:00
vms
b89a9878d2 get rid of excess exports for module
since https://github.com/rust-lang/rust/issues/63562 fixed
2020-04-29 00:15:05 +03:00
vms
3ae49e9a37 bump to 0.1.10 version 2020-04-28 23:34:37 +03:00
vms
ac00542974 move to new alloc features, apply rust 2018 idioms 2020-04-28 23:31:31 +03:00
vms
36b9558466 add sdk 0.1.9 version 2019-10-07 14:01:20 +03:00