Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use generated generic Linker.DefineFunction() and Function.FromCallback() overloads for efficiently invoking callbacks #163

Merged
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
419c28d
Use a T4 text template to generate overloads of generic Linker.Define…
kpreisser Oct 11, 2022
59750ea
Simplify.
kpreisser Oct 12, 2022
e357e2c
Follow-Up: Also implement the generic overload generation for Functio…
kpreisser Oct 15, 2022
cf649b6
Merge 'main' and resolve conflicts.
kpreisser Oct 21, 2022
dbd8945
Follow-Up: Returning a ValueTuple<> with more than 4 type arguments r…
kpreisser Oct 21, 2022
2728a4e
Add more tests.
kpreisser Oct 21, 2022
78e7eb5
Follow-Up: Fall back to using reflection instead of throwing an excep…
kpreisser Oct 21, 2022
ded2d2a
Merge remote-tracking branch 'bytecodealliance/main' into generic-lin…
kpreisser Oct 22, 2022
fc72a85
Add more tests including one for a custom callback delegate.
kpreisser Oct 22, 2022
28770d6
Directly specify the delegate parameter and return types, so that it'…
kpreisser Oct 23, 2022
87f727b
Merge branch 'main' into generic-linker-define-function
kpreisser Nov 3, 2022
281154c
Update for changes in #172.
kpreisser Nov 3, 2022
ea9acf4
PR feedback: Extract duplicated code into a separate .t4 file that ca…
kpreisser Nov 3, 2022
fbe1c7d
PR feedback: Use a bool value for hasCaller.
kpreisser Nov 3, 2022
e4c29b7
PR feedback: Use a local tool manifest file for the dotnet-t4 tool, a…
kpreisser Nov 3, 2022
3766b38
Follow-Up: Run "dotnet tool restore" to automatically make the tool a…
kpreisser Nov 3, 2022
1083d77
We no longer need to specify the -o flag since mono/t4#142 has been f…
kpreisser Nov 9, 2022
1bb509e
Merge 'main' and fix conflicts.
kpreisser Nov 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-t4": {
"version": "2.3.1",
"commands": [
"t4"
]
}
}
}
Loading