{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":488022891,"defaultBranch":"risc0","name":"rust","ownerLogin":"risc0","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-05-02T23:42:46.000Z","ownerAvatar":"https://github.com/avatars/u/90660733?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1724265659.0","currentOid":""},"activityList":{"items":[{"before":"4937f39652e1a5e3dfd8396385a5ed13ad8771b7","after":"22b036206e686be819b8a6bf110ed7dfcc098f8a","ref":"refs/heads/erik/risc0-1.79.0","pushedAt":"2024-08-21T18:35:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"use release runners instead of prod","shortMessageHtmlLink":"use release runners instead of prod"}},{"before":"d32671cb72b3f45e0d34a497b5e078671e158688","after":null,"ref":"refs/heads/flaub/thread-local-static","pushedAt":"2024-08-21T00:18:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"}},{"before":"d49b1d14aaac1e0f5a33c303c3d128fdac08da1d","after":null,"ref":"refs/heads/flaub/1.79-thread-local","pushedAt":"2024-08-21T00:18:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"}},{"before":"54ac017d234ee5b618501149dc454d6efe287fbc","after":"88b013fe3d0800ec30c7e99b9097a499f5f8ee9d","ref":"refs/heads/erik/risc0-1.80.1","pushedAt":"2024-08-20T20:53:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"Use static impl for thread_local","shortMessageHtmlLink":"Use static impl for thread_local"}},{"before":"563dcb12461f2c28c2c0e4474fcd82779da4eb30","after":"4937f39652e1a5e3dfd8396385a5ed13ad8771b7","ref":"refs/heads/erik/risc0-1.79.0","pushedAt":"2024-08-20T18:25:04.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"Merge pull request #17 from risc0/flaub/thread-local-static\n\nrust 1.79: Use static impl for thread_local","shortMessageHtmlLink":"Merge pull request #17 from risc0/flaub/thread-local-static"}},{"before":"b6c404a66d9775d8362b4f22cef94529235549f6","after":"0c4b4f2ceecba75e2ac607e8df263299bbfe9d2d","ref":"refs/heads/erik/risc0-1.78.0","pushedAt":"2024-08-20T18:24:51.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"Merge pull request #18 from risc0/flaub/1.79-thread-local\n\nrust 1.78: Use static impl for thread_local","shortMessageHtmlLink":"Merge pull request #18 from risc0/flaub/1.79-thread-local"}},{"before":null,"after":"d49b1d14aaac1e0f5a33c303c3d128fdac08da1d","ref":"refs/heads/flaub/1.79-thread-local","pushedAt":"2024-08-20T06:07:15.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"},"commit":{"message":"rust 1.78: Use static impl for thread_local","shortMessageHtmlLink":"rust 1.78: Use static impl for thread_local"}},{"before":"563dcb12461f2c28c2c0e4474fcd82779da4eb30","after":"d32671cb72b3f45e0d34a497b5e078671e158688","ref":"refs/heads/flaub/thread-local-static","pushedAt":"2024-08-20T06:02:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"},"commit":{"message":"Use static impl for thread_local","shortMessageHtmlLink":"Use static impl for thread_local"}},{"before":null,"after":"563dcb12461f2c28c2c0e4474fcd82779da4eb30","ref":"refs/heads/flaub/thread-local-static","pushedAt":"2024-08-20T06:01:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"},"commit":{"message":"Modify CI files and add release.yml","shortMessageHtmlLink":"Modify CI files and add release.yml"}},{"before":"9c20ddd956426d577d77cb3f57a7db2227a3c6e9","after":"79611d90b6b3fc6f17a0b07ba228b28e89de16e3","ref":"refs/heads/master","pushedAt":"2024-08-20T01:43:17.000Z","pushType":"push","commitsCount":10000,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"},"commit":{"message":"Auto merge of #122551 - RayMuir:copy_fmt, r=saethlin\n\nAdded \"copy\" to Debug fmt for copy operands\n\nIn MIR's debug mode (--emit mir) the printing for Operands is slightly inconsistent.\n\nThe RValues - values on the right side of an Assign - are usually printed with their Operand when they are Places.\n\nExample:\n_2 = move _3\n\nBut for arguments, the operand is omitted.\n\n_2 = _1\n\nI propose a change be made, to display the place with the operand.\n\n_2 = copy _1\n\nMove and copy have different semantics, meaning this difference is important and helpful to the user. It also adds consistency to the pretty printing.\n\n-- EDIT --\n\n Consider this example Rust program and its MIR output with the **updated pretty printer.**\n\nThis was generated with the arguments --emit mir --crate-type lib -Zmir-opt-level=0 (Otherwise, it's optimised away since it's a junk program).\n\n```rust\nfn main(foo: i32) {\n let v = 10;\n\n if v == 20 {\n foo;\n }\n else {\n v;\n }\n}\n```\n\n```MIR\n// WARNING: This output format is intended for human consumers only\n// and is subject to change without notice. Knock yourself out.\nfn main(_1: i32) -> () {\n debug foo => _1;\n let mut _0: ();\n let _2: i32;\n let mut _3: bool;\n let mut _4: i32;\n let _5: i32;\n let _6: i32;\n scope 1 {\n debug v => _2;\n }\n\n bb0: {\n StorageLive(_2);\n _2 = const 10_i32;\n StorageLive(_3);\n StorageLive(_4);\n _4 = copy _2;\n _3 = Eq(move _4, const 20_i32);\n switchInt(move _3) -> [0: bb2, otherwise: bb1];\n }\n\n bb1: {\n StorageDead(_4);\n StorageLive(_5);\n _5 = copy _1;\n StorageDead(_5);\n _0 = const ();\n goto -> bb3;\n }\n\n bb2: {\n StorageDead(_4);\n StorageLive(_6);\n _6 = copy _2;\n StorageDead(_6);\n _0 = const ();\n goto -> bb3;\n }\n\n bb3: {\n StorageDead(_3);\n StorageDead(_2);\n return;\n }\n}\n```\n\nIn this example program, we can see that when we move a place, it is preceded by \"move\". e.g. ``` _3 = Eq(move _4, const 20_i32);```. However, when we copy a place such as ```_5 = _1;```, it is not preceded by the operand in the original printout. I propose to change the print to include the copy ```_5 = copy _1``` as in this example.\n\nRegarding the arguments part. When I originally submitted this PR, I was under the impression this only affected the print for arguments to a function, but actually, it affects anything that uses a copy. This is preferable anyway with regard to consistency. The PR is about making ```copy``` explicit.","shortMessageHtmlLink":"Auto merge of rust-lang#122551 - RayMuir:copy_fmt, r=saethlin"}},{"before":null,"after":"54ac017d234ee5b618501149dc454d6efe287fbc","ref":"refs/heads/erik/risc0-1.80.1","pushedAt":"2024-08-17T03:15:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"add ci files","shortMessageHtmlLink":"add ci files"}},{"before":null,"after":"2059132d3c715514da0e4f9cd395a708e666e306","ref":"refs/heads/erik/beta-1.81","pushedAt":"2024-08-15T17:57:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"Auto merge of #128606 - compiler-errors:revert-dead-code-changes-beta, r=cuviper\n\nRevert recent changes to dead code analysis (beta flavor)\n\nThis PR cherry-picks the subset of #128404 which actually applies to beta, namely:\n\n* 31fe9628cf830a08e7194a446f66c668aaea86e9 Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix\n* 2724aeaaeb127a8073e39461caacbe21a128ce7b Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix\n* 977c5fd419ade52467f7de79d5bfc25c0c893275 Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov\n* 13314df21b0bb0cdd02c6760581d1b9f1052fa7e Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix\n\nAnd then re-blesses tests.\n\nI opted to do a manual backport of that PR since preparing the revert correctly was quite a hassle.\n\nr? `@cuviper` (or anyone on release)","shortMessageHtmlLink":"Auto merge of rust-lang#128606 - compiler-errors:revert-dead-code-cha…"}},{"before":"adddf553a2267520295ad98fdfdb79795eb7ea20","after":"e48d33e18a1b34d2d66fa1f917d639cef4f63a18","ref":"refs/heads/erik/zkvm-deny-unsafe","pushedAt":"2024-07-16T23:04:17.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: add `#[forbid(unsafe_op_in_unsafe_fn)]` in `stdlib`\n\nThis also adds an additional `unsafe` block to address compiler errors.","shortMessageHtmlLink":"zkvm: add #[forbid(unsafe_op_in_unsafe_fn)] in stdlib"}},{"before":"e8440a86b80e39bfbd9e48d660d0f7c83eccbcc9","after":"adddf553a2267520295ad98fdfdb79795eb7ea20","ref":"refs/heads/erik/zkvm-deny-unsafe","pushedAt":"2024-07-16T23:03:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: add `#[forbid(unsafe_op_in_unsafe_fn)]` in `stdlib`\n\nThis also adds an additional `unsafe` block to address compiler errors.","shortMessageHtmlLink":"zkvm: add #[forbid(unsafe_op_in_unsafe_fn)] in stdlib"}},{"before":null,"after":"e8440a86b80e39bfbd9e48d660d0f7c83eccbcc9","ref":"refs/heads/erik/zkvm-deny-unsafe","pushedAt":"2024-07-16T22:12:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: add `#[deny(unsafe_op_in_unsafe_fn)]` in `stdlib`\n\nThis also adds an additional `unsafe` block to address compiler errors.","shortMessageHtmlLink":"zkvm: add #[deny(unsafe_op_in_unsafe_fn)] in stdlib"}},{"before":"6d7aa8239d95625a5b9a7dffbd6b7a288501246c","after":"b6c404a66d9775d8362b4f22cef94529235549f6","ref":"refs/heads/erik/risc0-1.78.0","pushedAt":"2024-06-21T17:30:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: remove cmath and fix os_str","shortMessageHtmlLink":"zkvm: remove cmath and fix os_str"}},{"before":"04520a4158d7c3c369887366c30502736bb57c17","after":"6d7aa8239d95625a5b9a7dffbd6b7a288501246c","ref":"refs/heads/erik/risc0-1.78.0","pushedAt":"2024-06-21T17:24:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: remove cmath","shortMessageHtmlLink":"zkvm: remove cmath"}},{"before":null,"after":"04520a4158d7c3c369887366c30502736bb57c17","ref":"refs/heads/erik/risc0-1.78.0","pushedAt":"2024-06-21T17:05:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"add CI and release files","shortMessageHtmlLink":"add CI and release files"}},{"before":null,"after":"563dcb12461f2c28c2c0e4474fcd82779da4eb30","ref":"refs/heads/erik/risc0-1.79.0","pushedAt":"2024-06-20T16:49:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"Modify CI files and add release.yml","shortMessageHtmlLink":"Modify CI files and add release.yml"}},{"before":"d47dd26f4c36aa71555cfec04c67f8cfae74024d","after":"dde17cf3ee25d3212aae47907ef5e9edc056cd5b","ref":"refs/heads/erik/fix-test","pushedAt":"2024-05-03T21:35:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: fix run_tests\n\nzkvm is single-threaded, similar to emscripten and wasm.","shortMessageHtmlLink":"zkvm: fix run_tests"}},{"before":null,"after":"d47dd26f4c36aa71555cfec04c67f8cfae74024d","ref":"refs/heads/erik/fix-test","pushedAt":"2024-05-03T21:25:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: fix run_tests\n\nzkvm is single-threaded, similar to emscripten and wasm.","shortMessageHtmlLink":"zkvm: fix run_tests"}},{"before":"e0764a96e1e9108d440f0b4d7a0215b82f7653f1","after":"4002368526c38b1bbe3f09c2f0f7033348342b81","ref":"refs/heads/erik/risc0-1.77.2","pushedAt":"2024-04-22T22:24:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: fix run_tests\n\nzkvm is single-threaded, similar to emscripten and wasm.","shortMessageHtmlLink":"zkvm: fix run_tests"}},{"before":null,"after":"e0764a96e1e9108d440f0b4d7a0215b82f7653f1","ref":"refs/heads/erik/risc0-1.77.2","pushedAt":"2024-04-16T22:35:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"CI: add CI and release files","shortMessageHtmlLink":"CI: add CI and release files"}},{"before":"490313ac9193d60c1788fbb6ed1d2a67c37943b7","after":"ee0aea5f658953ca5d788d7526ea08428ea3e7da","ref":"refs/heads/erik/zkvm-fix-os-str","pushedAt":"2024-04-15T16:35:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: fix references to `os_str` module\n\nThe `os_str` module has been moved to `sys`.","shortMessageHtmlLink":"zkvm: fix references to os_str module"}},{"before":null,"after":"490313ac9193d60c1788fbb6ed1d2a67c37943b7","ref":"refs/heads/erik/zkvm-fix-os-str","pushedAt":"2024-04-15T16:31:27.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: fix os_str references","shortMessageHtmlLink":"zkvm: fix os_str references"}},{"before":"5139fe16228d48e5bb4134dee4404098922804b0","after":"7a9beff9591790c970ede2c6ff84c2268c362fad","ref":"refs/heads/erik/risc0-1.77.1","pushedAt":"2024-04-03T20:19:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"CI: add CI and release files","shortMessageHtmlLink":"CI: add CI and release files"}},{"before":null,"after":"5139fe16228d48e5bb4134dee4404098922804b0","ref":"refs/heads/erik/risc0-1.77.1","pushedAt":"2024-03-29T23:56:15.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"zkvm: remove cmath and os_str\n\nThis has been moved to `sys` so this is export is no longer needed.","shortMessageHtmlLink":"zkvm: remove cmath and os_str"}},{"before":"644744227fd6bfe5e8ad0cabeb40674a6f9dc290","after":"01b8581fa65d2ab206e0bb7f1525aebd1da1a363","ref":"refs/heads/erik/risc0-1.75.0","pushedAt":"2024-02-08T18:29:40.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"CI: remove x86 macOS","shortMessageHtmlLink":"CI: remove x86 macOS"}},{"before":"2764c73f7e2f30f99749823552be1bcc85141b2b","after":null,"ref":"refs/heads/erik/remove-x86-mac","pushedAt":"2024-01-31T22:17:30.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"flaub","name":"Frank Laub","path":"/flaub","primaryAvatarUrl":"https://github.com/avatars/u/111859?s=80&v=4"}},{"before":"26a8deaa9d976d5b70d4777e94f1ae78eada083a","after":"b2060c0fa7b0f6f42a180e9c85e28bddc174c777","ref":"refs/heads/risc0","pushedAt":"2024-01-31T22:06:16.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"SchmErik","name":"Erik Kaneda","path":"/SchmErik","primaryAvatarUrl":"https://github.com/avatars/u/11355936?s=80&v=4"},"commit":{"message":"Merge pull request #16 from risc0/erik/remove-x86-mac\n\nCI: remove x86 macOS","shortMessageHtmlLink":"Merge pull request #16 from risc0/erik/remove-x86-mac"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yMVQxODozNToxMS4wMDAwMDBazwAAAASghTvj","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yMVQxODozNToxMS4wMDAwMDBazwAAAASghTvj","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMS0zMVQyMjowNjoxNi4wMDAwMDBazwAAAAPug7re"}},"title":"Activity · risc0/rust"}