{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":667504993,"defaultBranch":"main","name":"unit-wasm","ownerLogin":"nginx","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-07-17T16:51:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1412239?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1697741027.0","currentOid":""},"activityList":{"items":[{"before":"3a751f78ae9ef330c575419f749c903f359a7c80","after":"4d4f1f2284d54dfabf58246034b8fc7fd0282f83","ref":"refs/heads/main","pushedAt":"2024-07-02T02:22:04.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"API-Rust.md: Use the addr_of_mut!() macro\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"API-Rust.md: Use the addr_of_mut!() macro"}},{"before":"01c43784ec53aa1ff22aca7e7ae6f18b4591b514","after":"3a751f78ae9ef330c575419f749c903f359a7c80","ref":"refs/heads/main","pushedAt":"2024-01-11T04:23:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"CONTRIBUTING.md: Fix a link to the unit-wasm GH issues page\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"CONTRIBUTING.md: Fix a link to the unit-wasm GH issues page"}},{"before":"9b17f64d301334b999a8138037d32ff72e951018","after":"01c43784ec53aa1ff22aca7e7ae6f18b4591b514","ref":"refs/heads/main","pushedAt":"2023-10-19T18:43:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"unit-wasm 0.3.0\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"unit-wasm 0.3.0"}},{"before":"63e2d345eb1b6c785dfd3e1559b71aea056edd92","after":"9b17f64d301334b999a8138037d32ff72e951018","ref":"refs/heads/main","pushedAt":"2023-10-17T18:12:43.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Do some simplification around unsafe {} blocks\n\nWe can put the unsafe keyword as part of the function definition,\ngetting rid of the unsafe {} blocks in the functions themselves.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Do some simplification around unsafe {} blocks"}},{"before":"c50e2c23c4d3b9c436d1b7de748b4c3809356f41","after":"63e2d345eb1b6c785dfd3e1559b71aea056edd92","ref":"refs/heads/main","pushedAt":"2023-10-11T15:42:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/c: Remove a duplicate word from large-upload.c\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/c: Remove a duplicate word from large-upload.c"}},{"before":"e4a868078ab43772e36cd8ffc59fd995353fb402","after":"c50e2c23c4d3b9c436d1b7de748b4c3809356f41","ref":"refs/heads/main","pushedAt":"2023-09-29T21:46:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"API-C.md: Fix a broken fragment link\n\nFixes: 1beab00ac (\"Allow to set the HTTP response status\")\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"API-C.md: Fix a broken fragment link"}},{"before":"43b84013e5383d0b2f915c6fbf8c71acc281c1ad","after":"e4a868078ab43772e36cd8ffc59fd995353fb402","ref":"refs/heads/main","pushedAt":"2023-09-25T17:12:37.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples: Add C and Rust examples of handling large uploads\n\nThe programs demonstrate handling requests with payloads larger than\n4GiB which means they need to be written out to disk and so also\ndemonstrates the use of the file-system access mechanism.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples: Add C and Rust examples of handling large uploads"}},{"before":"44442b8c85399e4baa49c28a436ce0c3aeb5deb1","after":"43b84013e5383d0b2f915c6fbf8c71acc281c1ad","ref":"refs/heads/main","pushedAt":"2023-09-25T17:00:42.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"rust/rusty: Add a wrapper for the new luw_http_set_response_status()\n\nThe new uwr_http_set_response_status() function allows to set the HTTP\nresponse status in Rust WebAssembly modules. It takes one of the\nluw_http_status_t response status values.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"rust/rusty: Add a wrapper for the new luw_http_set_response_status()"}},{"before":"ef3227529fef94f74b8863f212b6b02a82c5f686","after":"44442b8c85399e4baa49c28a436ce0c3aeb5deb1","ref":"refs/heads/main","pushedAt":"2023-09-12T16:20:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"HOWTO.md: A couple of minor updates\n\nChange the minimum clang/llvm version to 9.0 (as noted here[0]).\n\nProvide an alternate command for installing the libclang wasm runtime\nlibrary.\n\n[0]: https://github.com/WebAssembly/wasi-sdk/blob/main/README.md?plain=1#L19\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"HOWTO.md: A couple of minor updates"}},{"before":"bfdb7304cdbbc037abd397cd8ec5542168023f15","after":"ef3227529fef94f74b8863f212b6b02a82c5f686","ref":"refs/heads/main","pushedAt":"2023-09-08T15:09:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"README.md: We need to install wasi-libc on Debian\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"README.md: We need to install wasi-libc on Debian"}},{"before":"76f8f41487e361c00099a729dee2e293a4b713a5","after":"bfdb7304cdbbc037abd397cd8ec5542168023f15","ref":"refs/heads/main","pushedAt":"2023-09-07T15:00:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"API-Rust.md: Fix section numbering\n\nMust of got out of whack when editing it from the C version.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"API-Rust.md: Fix section numbering"}},{"before":"6764e6e8ac3f1223536c35d7daef0755df144643","after":"76f8f41487e361c00099a729dee2e293a4b713a5","ref":"refs/heads/main","pushedAt":"2023-09-05T19:53:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"rust: Change how bindgen creates enums\n\nPreviously bindgen was picking the 'constified_enum'. E.g it would turn\nthe luw_srb_flags_t enum\n\n typedef enum {\n LUW_SRB_NONE = 0x00,\n LUW_SRB_APPEND = 0x01,\n LUW_SRB_ALLOC = 0x02,\n LUW_SRB_FULL_SIZE = 0x04,\n\n LUW_SRB_FLAGS_ALL = (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|\n LUW_SRB_FULL_SIZE)\n } luw_srb_flags_t;\n\ninto\n\n pub const luw_srb_flags_t_LUW_SRB_NONE: luw_srb_flags_t = 0;\n pub const luw_srb_flags_t_LUW_SRB_APPEND: luw_srb_flags_t = 1;\n pub const luw_srb_flags_t_LUW_SRB_ALLOC: luw_srb_flags_t = 2;\n pub const luw_srb_flags_t_LUW_SRB_FULL_SIZE: luw_srb_flags_t = 4;\n pub const luw_srb_flags_t_LUW_SRB_FLAGS_ALL: luw_srb_flags_t = 7;\n\nBut then this requires some further changes to make the names nicer\nwithout the type prefixed.\n\nThis will only be exasperated when adding an enum containing the HTTP\nstatus codes...\n\nSo instead, tell bindgen to use the 'rustified_enum' method which\nproduces this\n\n pub enum luw_srb_flags_t {\n LUW_SRB_NONE = 0,\n LUW_SRB_APPEND = 1,\n LUW_SRB_ALLOC = 2,\n LUW_SRB_FULL_SIZE = 4,\n LUW_SRB_FLAGS_ALL = 7,\n }\n\nwhich in theory requires no extra changes (it doesn't with the http\nstatus codes enum), however in this specific case, because these are\nactually bitflags we still need to cast them to u32 so they can be OR'd.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"rust: Change how bindgen creates enums"}},{"before":"d81bc9290edc8d1eb59ced024499359ccd4da77a","after":"6764e6e8ac3f1223536c35d7daef0755df144643","ref":"refs/heads/main","pushedAt":"2023-09-05T14:36:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Slightly simplify hello-world\n\nThere is no need in this case to declare REQUEST_BUF as a global\nvariable. Declaring it local to uwr_request_handler() lets us get rid of\nthe unsafe code blocks.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Slightly simplify hello-world"}},{"before":"9f65baff8a0bd7bfe450278006318717c7e7cecd","after":"d81bc9290edc8d1eb59ced024499359ccd4da77a","ref":"refs/heads/main","pushedAt":"2023-08-30T16:34:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"unit-wasm 0.2.0\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"unit-wasm 0.2.0"}},{"before":"741a85ab66ec9c4438951bd1a0dc837ac4f30516","after":"9f65baff8a0bd7bfe450278006318717c7e7cecd","ref":"refs/heads/main","pushedAt":"2023-08-30T13:14:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"README.md: Update for missing mention of rust-hello-world\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"README.md: Update for missing mention of rust-hello-world"}},{"before":"d62b8e93fdaf62a36c36437f987485f7be36e52f","after":"741a85ab66ec9c4438951bd1a0dc837ac4f30516","ref":"refs/heads/main","pushedAt":"2023-08-30T13:01:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"README.md: Add a link to API-Rust.md\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"README.md: Add a link to API-Rust.md"}},{"before":"5ab50752824ca605cb9a03da9807d70f588d9a6b","after":"d62b8e93fdaf62a36c36437f987485f7be36e52f","ref":"refs/heads/main","pushedAt":"2023-08-30T01:11:07.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Update for new API additions\n\nUpdate the echo-request and upload-reflector examples for the new\nuwr_http_add_header_content_type() and uwr_http_add_header_content_len()\nfunctions.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Update for new API additions"}},{"before":"656c03609a2ba480dc88b28ade288b33a4b3a26b","after":"5ab50752824ca605cb9a03da9807d70f588d9a6b","ref":"refs/heads/main","pushedAt":"2023-08-29T22:12:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Fix building of the hello world demo\n\nWhen I renamed it from minimal to hello-world, it stopped being built\ndue to the make target name being the same as the directory name\n(hello-world).\n\nRename the make target to rust-hello-world which also matches the naming\nof the rest of the targets.\n\nFixes: 656c036 (\"examples/rust: Add a minimal hello world rust example\")\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Fix building of the hello world demo"}},{"before":"bf968c99ce109c63fded62ec573c4bc247dc9c0a","after":"656c03609a2ba480dc88b28ade288b33a4b3a26b","ref":"refs/heads/main","pushedAt":"2023-08-29T19:47:17.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Add a minimal hello world rust example\n\nThis is about the smallest it can be.\n\nIts Unit application config would look like\n\n \"applications\": {\n \"rust-hello-world\": {\n \"type\": \"wasm\",\n \"module\": \"/path/to/unit-wasm/examples/rust/hello-world/target/wasm32-wasi/debug/rust_hello_world.wasm\",\n \"request_handler\": \"uwr_request_handler\",\n \"malloc_handler\": \"luw_malloc_handler\",\n \"free_handler\": \"luw_free_handler\"\n }\n }\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Add a minimal hello world rust example"}},{"before":"31f124a96a2121726f626cafe814bb37accc966e","after":"bf968c99ce109c63fded62ec573c4bc247dc9c0a","ref":"refs/heads/main","pushedAt":"2023-08-29T15:56:29.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"Rust/rusty: Add uwr_get_http_content_str()\n\nThis function is like uwr_get_http_content() except that it returns a\nRust str.\n\nThis is more convenient if you want to operate on the body content\nwithin Rust.\n\nIt's worth noting that uwr_get_http_content() returns a non null\nterminated buffer which makes it tricky to work with in Rust.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"Rust/rusty: Add uwr_get_http_content_str()"}},{"before":"c98d9d80111236b882883eeb8b00f533f1212bef","after":"31f124a96a2121726f626cafe814bb37accc966e","ref":"refs/heads/main","pushedAt":"2023-08-29T15:31:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"API-Rust.md: Tweak the uwr_http_add_header() example\n\nUse uwr_get_response_data_size() instead of uwr_get_http_content_len()\nfor the Content-Length, this is more appropriate as this will give the\nlength of the response data rather than the request data.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"API-Rust.md: Tweak the uwr_http_add_header() example"}},{"before":"cf49f71c293581cca2cff78b77f3a4dc791ca926","after":"c98d9d80111236b882883eeb8b00f533f1212bef","ref":"refs/heads/main","pushedAt":"2023-08-28T21:57:03.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Update unit-wasm dependency version\n\nluw_http_add_header() no longer takes an idx argument.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Update unit-wasm dependency version"}},{"before":"da5d9dc03b14b4d0f1ce0ce3ff093f387e148706","after":"cf49f71c293581cca2cff78b77f3a4dc791ca926","ref":"refs/heads/main","pushedAt":"2023-08-28T21:14:51.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"Rust/unit-wasm-sys: Re-generate the bindings on changes to unit-wasm.h\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"Rust/unit-wasm-sys: Re-generate the bindings on changes to unit-wasm.h"}},{"before":"5bf0dfc92eb57f43dcf2eb29d9647c096b984774","after":"da5d9dc03b14b4d0f1ce0ce3ff093f387e148706","ref":"refs/heads/main","pushedAt":"2023-08-28T19:32:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"libunit-wasm: Remove the idx argument from luw_http_add_header()\n\nThis was used to specify the index of the response header being added,\nstarting at 0 and incrementing by one for each header.\n\nInstead of having the programmer specify this, track it internally.\n\nWe add an extra check in luw_http_add_header() to make sure we aren't\ntrying to add more headers than we said with luw_http_init_headers(), if\nwe are, simply return.\n\nThis updates the API-C.md and the various examples and 'rusty' API\nwrapper.\n\nSuggested-by: Liam Crilly \nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"libunit-wasm: Remove the idx argument from luw_http_add_header()"}},{"before":"011c3ba3f7bc466a04101f81d4f6186001b7aad4","after":"5bf0dfc92eb57f43dcf2eb29d9647c096b984774","ref":"refs/heads/main","pushedAt":"2023-08-28T15:01:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"Revert \"Adding echo Request with body Parsing\"\n\nThis reverts commit 011c3ba3f7bc466a04101f81d4f6186001b7aad4.\n\nThis was committed in error...\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"Revert \"Adding echo Request with body Parsing\""}},{"before":"b5bff68fe10962fffa7b28e9e6fd15af72ff13d9","after":"011c3ba3f7bc466a04101f81d4f6186001b7aad4","ref":"refs/heads/main","pushedAt":"2023-08-28T12:43:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tippexs","name":"Timo Stark","path":"/tippexs","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8117589?s=80&v=4"},"commit":{"message":"Adding echo Request with body Parsing","shortMessageHtmlLink":"Adding echo Request with body Parsing"}},{"before":"18a39cca9769b1651a9454471bbd8864e8d84d7c","after":"b5bff68fe10962fffa7b28e9e6fd15af72ff13d9","ref":"refs/heads/main","pushedAt":"2023-08-26T22:22:52.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"README.md: Significant re-working\n\nThis adds a new 'Setup a Suitable Environment' section that replaces the\n'Getting Started' section and it's subsections.\n\nThis provides a more comprehensive guide to setting up a suitable\nenvironment on some specific systems (currently Fedora/CentOS/RHEL etc\n& Debian/Ubuntu).\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"README.md: Significant re-working"}},{"before":"1e045a5d5ca2e3e28119343970b2ccff13a64c65","after":"18a39cca9769b1651a9454471bbd8864e8d84d7c","ref":"refs/heads/main","pushedAt":"2023-08-26T02:52:26.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"examples/rust: Update unit-wasm dependency version\n\nThis is for the new 'rusty' API.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"examples/rust: Update unit-wasm dependency version"}},{"before":"3d5f21e2b3c53204a8c5d5d1306142cc407e2d71","after":"1e045a5d5ca2e3e28119343970b2ccff13a64c65","ref":"refs/heads/main","pushedAt":"2023-08-26T01:46:25.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"Rust/unit-wasm-sys: Don't require the wasi-sysroot\n\nWhen I added the luw_http_hdr_get_value() function I needed to include\nstrings.h, unfortunately I added it to unit-wasm.h instead of\nlibunit-wasm.c\n\nThis then meant that we needed to point bindgen/clang, for generating\nthe bindings, to the wasi-sysroot for the strings.h file. I guess this\nis a system dependant include or something and when we use the\nwasm32-wasi target in clang it uses a paired down include search path\nlist, none of which have strings.h\n\nThis then had the knock on effect of requiring to inform cargo build of\nthe wasi-sysroot path.\n\nNow that we put strings.h in the right place, we don't need the\nwasi-sysroot when building the rust stuff.\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"Rust/unit-wasm-sys: Don't require the wasi-sysroot"}},{"before":"a6bc364838d06dda56252c65f9d30c29effac992","after":"3d5f21e2b3c53204a8c5d5d1306142cc407e2d71","ref":"refs/heads/main","pushedAt":"2023-08-25T02:46:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ac000","name":"Andrew Clayton","path":"/ac000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61690?s=80&v=4"},"commit":{"message":"Rust/unit-wasm-sys: Bump the version of the crate\n\nunit-wasm-sys 0.1.2\n\nMight as well do this now before the code changes and we bump the\nversion again.\n\nThis version was published to crates.io\n\nSigned-off-by: Andrew Clayton ","shortMessageHtmlLink":"Rust/unit-wasm-sys: Bump the version of the crate"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0wMlQwMjoyMjowNC4wMDAwMDBazwAAAAR0VFsm","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0wMlQwMjoyMjowNC4wMDAwMDBazwAAAAR0VFsm","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOC0yNVQwMjo0Njo0My4wMDAwMDBazwAAAANyKNWN"}},"title":"Activity ยท nginx/unit-wasm"}