File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -596,6 +596,7 @@ ifdef RUST_LIB_SRC
596
596
export RUST_LIB_SRC
597
597
endif
598
598
599
+ # Allows the usage of unstable features in stable compilers.
599
600
export RUSTC_BOOTSTRAP := 1
600
601
601
602
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
Original file line number Diff line number Diff line change 32
32
33
33
#define KSYM_NAME_LEN 512
34
34
35
- /* A substantially bigger size than the current maximum. */
35
+ /*
36
+ * A substantially bigger size than the current maximum.
37
+ *
38
+ * It cannot be defined as an expression because it gets stringified
39
+ * for the fscanf() format string. Therefore, a _Static_assert() is
40
+ * used instead to maintain the relationship with KSYM_NAME_LEN.
41
+ */
36
42
#define KSYM_NAME_LEN_BUFFER 2048
37
43
_Static_assert (
38
44
KSYM_NAME_LEN_BUFFER == KSYM_NAME_LEN * 4 ,
You can’t perform that action at this time.
0 commit comments