-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2725: Regression test for #2721 r=syrusakbary a=nagisa The wasm snippet in the test corresponds to roughly: ```rust let name = "bananapeach"; banana(a, b, c, name.len() as _, name.as_ptr() as _, f, g, h); ``` however sometime between 2.0 and 2.1 the name pointer is no longer being passed through as an argument. Instead a 0 gets passed in. To make things weirder, if `name.as_ptr()` is passed through multiple times, the second time the pointer will get passed correctly. The fix for this issue is in #2723. Co-authored-by: Simonas Kazlauskas <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
- Loading branch information
Showing
2 changed files
with
150 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
SHELL=/bin/bash | ||
SHELL=/usr/bin/env bash | ||
|
||
|
||
##### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters