about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets/rust-mode/async test
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-05-12T10·30+0200
committergrfn <grfn@gws.fyi>2021-05-12T10·33+0000
commit2a97eda3b3cb61e74b9fe9641380cc77c15c766c (patch)
treef5e42b6fc16e1d7b8d1321448c36e6b66a4117e3 /users/grfn/emacs.d/snippets/rust-mode/async test
parentf790e7276328964369c9fca370ae9bf0b48b859f (diff)
feat(gs/emacs): Update async test snippet for tokio 1.x r/2582
Change-Id: I897f3efae7920dee678f6ca03d743b12212b766c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3109
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/emacs.d/snippets/rust-mode/async test')
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/async test2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/snippets/rust-mode/async test b/users/grfn/emacs.d/snippets/rust-mode/async test
index b48e443cb8e1..8465225663fb 100644
--- a/users/grfn/emacs.d/snippets/rust-mode/async test
+++ b/users/grfn/emacs.d/snippets/rust-mode/async test
@@ -4,7 +4,7 @@
 # key: atest
 # condition: t
 # --
-#[tokio::test(threaded_scheduler)]
+#[tokio::test(flavor = "multi_thread")]
 async fn ${1:test_name}() {
    `%`$0
 }
\ No newline at end of file