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
596596 export RUST_LIB_SRC
597597endif
598598
599+ # Allows the usage of unstable features in stable compilers.
599600export RUSTC_BOOTSTRAP := 1
600601
601602export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
Original file line number Diff line number Diff line change 3232
3333#define KSYM_NAME_LEN 512
3434
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+ */
3642#define KSYM_NAME_LEN_BUFFER 2048
3743_Static_assert (
3844 KSYM_NAME_LEN_BUFFER == KSYM_NAME_LEN * 4 ,
You can’t perform that action at this time.
0 commit comments