Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMake function pointers implement traits for up to 12 parameters #28560
Conversation
rust-highfive
assigned
aturon
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
nrc
assigned
nrc
and unassigned
aturon
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
merged commit 5f66c70
into
rust-lang:master
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
@Manishearth |
Manishearth
deleted the
Manishearth:fix-fnptr-impls
branch
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
Functions with a large number of arguments being used in other structs are basically inevitable in bindings. |
This comment has been minimized.
This comment has been minimized.
|
It's always good to do a bit of investigation into what caused regressions if they do happen, and as @petrochenkov mentioned we did indeed cut these back to reduce the massive metadata size of libcore. The number chosen for tuples was completely arbitrary, so there's not real reason to match it for functions, and I would prefer to have only the bare minimum necessary to get things working until we find a better solution. This is ok because it already landed, but always nice to not be too hasty! |
This comment has been minimized.
This comment has been minimized.
|
Will do, sorry about the trouble. |
This comment has been minimized.
This comment has been minimized.
|
Is there an issue documenting the bloat problem? |
bluss
added
the
relnotes
label
Sep 23, 2015
alexcrichton
added
the
beta-nominated
label
Oct 7, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: beta-nominated Nominating for a backport as this fixes a reported regression with chipmunk-sys and is pretty harmless. |
alexcrichton
added
the
T-libs
label
Oct 7, 2015
This comment has been minimized.
This comment has been minimized.
|
The libs team decided to accept this for a backport to beta |
Manishearth commentedSep 21, 2015
(12 was chosen to be consistent with what we do for tuples)
Fixes #28559